Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devenv: make common CLI options global #1196

Merged
merged 1 commit into from
May 10, 2024
Merged

Conversation

sandydoo
Copy link
Member

@sandydoo sandydoo commented May 10, 2024

Before
devenv shell --help
Activate the developer environment. https://devenv.sh/basics/

Usage: devenv shell [CMD] [ARGS]...

Arguments:
  [CMD]
  [ARGS]...

Options:
  -h, --help  Print help
After
devenv shell --help
Activate the developer environment. https://devenv.sh/basics/

Usage: devenv shell [OPTIONS] [CMD] [ARGS]...

Arguments:
  [CMD]
  [ARGS]...

Options:
  -v, --verbose
          Enable debug log level.
  -j, --max-jobs <MAX_JOBS>
          Maximum number of Nix builds at any time. [default: 4]
  -s, --system <SYSTEM>
          [default: aarch64-linux]
  -i, --impure
          Relax the hermeticity of the environment.
      --offline
          Disable substituters and consider all previously downloaded files up-to-date.
  -c, --clean [<CLEAN>...]
          Ignore existing environment variables when entering the shell. Pass a list of comma-separated environment variables to let through.
  -d, --nix-debugger
          Enter Nix debugger on failure.
  -n, --nix-option <NIX_OPTION> <NIX_OPTION>
          Pass additional options to nix commands, see `man nix.conf` for full list.
  -o, --override-input <OVERRIDE_INPUT> <OVERRIDE_INPUT>
          Override inputs in devenv.yaml.
  -h, --help
          Print help

@sandydoo sandydoo added the cli Related to the devenv CLI label May 10, 2024
@domenkozar domenkozar merged commit 61033d8 into main May 10, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the devenv CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants