-
Notifications
You must be signed in to change notification settings - Fork 83
improve cli documentation for questions #754
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
Changes from 5 commits
fa056ce
47452df
d349a03
450e58b
c5a7cd8
b9a7e4c
651ef17
487e3a7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,9 +5,19 @@ use clap::{Args, Subcommand, ValueEnum}; | |
|
|
||
| #[derive(Subcommand, Debug)] | ||
| pub enum QuestionsCommands { | ||
| /// Set mode for answering questions. | ||
| /// Sets the mode for answering questions. | ||
| /// | ||
| /// It allows to decide if questions will be interactive or | ||
| /// if it should not block installation. | ||
|
jreidinger marked this conversation as resolved.
Outdated
|
||
| Mode(ModesArgs), | ||
| /// Loads predefined answers to questions. | ||
| /// | ||
| /// It allows to predefine answers for certain questions to skip | ||
| /// them in interactive mode or change answer in automatic mode. | ||
| /// | ||
| /// For more details and examples see official Agama documentation. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd like to have a more helpful reference here
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That is what I am not sure if it will be documented on official suse side or not..and if it will be product specific or not.
jreidinger marked this conversation as resolved.
|
||
| Answers { | ||
| /// Local path to file with answers in YAML format | ||
| path: String, | ||
| }, | ||
| } | ||
|
|
||
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.
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.
Well unexpected is wrong. It is expected, that's why we have coded a special case for it
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, I am not sure what is better word. Maybe "uncommon" or "rare"? not sure