DOTENV(1)

πŸ“¦
version 0.15.0 Β· 2 versions
, in ubuntu jammy, ubuntu noble

✨ DOTENV(1) ✨

okay bestie, sit down, hydrate, and let me tell you about dotenv β€” it's from a lil thing called dotenv-rust, and it's a User Commands situation, so it lives in your terminal, where all the best drama happens πŸ’…


🌸 NAME 🌸

dotenv β€” aka dotenv-rust, the name on the birth certificate πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: you've got a .env file full of secrets and settings, and you wanna run a command with all that stuff already loaded into the environment. That's literally it. That's the whole gig.

dotenv runs a command using the environment in a .env file. no cap, that's the entire plot and it ate πŸ”₯


πŸ’– USAGE: πŸ’–

dotenv <COMMAND> [ARGS]...

so you give it a COMMAND, and then whatever ARGS that command needs, and dotenv handles the rest. it's giving personal assistant energy 🫢


✨ OPTIONS: ✨

  • -f, --file <FILE> β€” Use a specific .env file (defaults to .env). so if you're not feeling the standard .env vibe today, you can point it at a whole different file. main character choice honestly πŸ‘‘
  • -h, --help β€” Prints help information. when you're lost and need the map, this is the map πŸ—ΊοΈ
  • -V, --version β€” Prints version information. for when you gotta know exactly which era of dotenv you're living in ⭐

friendly reminder bestie: the default file is .env and that is only the default β€” the moment you pass -f/--file, you're overriding it. lowkey important, highkey obvious πŸ’œ

and that's the whole page, no crumbs left behind πŸ“

this was dotenv 0.15.0, dated May 2020 β€” yes she's a lil vintage, but vintage is iconic, and she still slays πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«ΆπŸ˜­πŸ”₯πŸ‘‘πŸŒˆβ­πŸ’€πŸ™ˆπŸ“πŸ§šπŸ’œ

periodt. go run something πŸŽ€

πŸ“¦ where this page comes from