id = "dotenv" name = "dotenv" description = "Load environment variables from a .env file (dotenv-cli)." executables = ["dotenv"] [commands] format = 1 label = "Run with .env" description = "Loads variables from one or more env files. The command to run is not modeled; append it after the options." quality = "ai-draft" base = "fig:dotenv" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/dotenv.ts" license = "MIT" [[commands.field]] id = "env_file" label = "Env file" type = "path" path = { kind = "file", role = "input" } option = ["-f"] multiple = true sources = ["fig"] [[commands.field]] id = "template" label = "Create a template env file" type = "path" path = { kind = "file", role = "output" } option = ["--template", "-t"] effect = "overwrite" sources = ["fig"] [[commands.task]] id = "template" label = "Create template" fields = ["env_file", "template"] required = ["template"] [[commands.group]] id = "basic" label = "Basic" fields = ["env_file", "template"]