-
Notifications
You must be signed in to change notification settings - Fork 21
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: add '--log-file' option to send logs to a file and introduced '--prompt' CLI option to prompt for passwords #344
Conversation
docs/README.md
Outdated
@@ -65,8 +71,8 @@ Commands: | |||
nrfu Run NRFU against inventory devices | |||
``` | |||
|
|||
!!! info | |||
`username`, `password`, `enable`, and `enable-password` values are the same for all devices | |||
> [!NOTE] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems GH markdown flavor is not supported by material for mkdocs. Rendering is not optimal
[!NOTE] username, password, enable-password, enable, timeout and insecure values are the same for all devices
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, the opposite is also true.. I chose the GitHub-compatible [!NOTE]
annotation for the GitHub README page because !!! info
is not rendered.
Maybe should we just use:
> username, password, enable-password, enable, timeout and insecure values are the same for all devices
So GitHub and mkdocs are happy ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, let's do that ☮️
Logging
If a file is provided, logs will also be sent to the file in addition to stdout.
If a file is provided and logging level is DEBUG, only the logging level INFO and higher will
be logged to stdout while all levels will be logged in the file.
Add test execution time logs in DEBUG level
Timeout
Changed default timeout to 30 sec
Password prompt
Introduced
--prompt
to ask ANTA to prompt password that have not been provided by CLI options or environment variables.