Skip to content

Commit

Permalink
fix: enable env in cargo
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <devin@buhl.casa>
  • Loading branch information
onedr0p committed Oct 14, 2024
1 parent 8563c88 commit 8414188
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions minijinja-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ contrib = ["minijinja-contrib"]
anyhow = "1.0.74"
ciborium = { version = "0.2.1", optional = true }
clap = { version = "4.3.21", default-features = false, features = [
"env",
"std",
"cargo",
"help",
Expand Down
2 changes: 1 addition & 1 deletion minijinja-cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ pub(super) fn make_command() -> Command {
.env("MINIJINJA_DUMP"),
#[cfg(feature = "repl")]
arg!(--repl "starts the repl with the given data")
.conflicts_with_all(["expr", "template"]),
.conflicts_with_all(["expr", "template"])
.env("MINIJINJA_REPL"),
#[cfg(feature = "completions")]
arg!(--"generate-completion" <SHELL> "generate a completion script for the given shell")
Expand Down

0 comments on commit 8414188

Please sign in to comment.