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

feat: Allow --help for subcommands #267

Merged
merged 1 commit into from
Jul 21, 2023

Conversation

gmuloc
Copy link
Collaborator

@gmuloc gmuloc commented Jul 11, 2023

  • NOTE - this may impact performance so maybe needs to be reassessed

Fixes #263

* NOTE - this may impact performance so maybe needs to be reassessed
Copy link
Collaborator

@carl-baillargeon carl-baillargeon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Tested locally

(.anta) ➜  anta git:(7eab826) anta nrfu --help
Usage: anta nrfu [OPTIONS] COMMAND [ARGS]...

  Run NRFU against inventory devices

Options:
  -c, --catalog FILE  Path to the tests catalog YAML file  [env var:
                      ANTA_NRFU_CATALOG; required]
  --help              Show this message and exit.

Commands:
  json        ANTA command to check network state with JSON result
  table       ANTA command to check network states with table result
  text        ANTA command to check network states with text result
  tpl-report  ANTA command to check network state with templated report

@gmuloc gmuloc added this to the v0.7.0 milestone Jul 12, 2023
@gmuloc gmuloc merged commit 3713d70 into arista-netdevops-community:main Jul 21, 2023
17 checks passed
titom73 pushed a commit that referenced this pull request Jul 24, 2023
* NOTE - this may impact performance so maybe needs to be reassessed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

anta nrfu --help requires mandatory options from anta
2 participants