Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions rust/agama-cli/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ use clap::Subcommand;

#[derive(Subcommand, Debug)]
pub enum Commands {
/// Change or show the installation settings.
/// Inspect or change the installation settings.
///
/// You can set any Agama configuration value from the command-line. You can change individual
/// values the "add" or "set" commands. Or modify many of them at a time by loading a so-called
/// profile through the "load" command.
/// You can inspect and change installation settings from the command-line. The "show"
/// subcommand generates a "profile" which is a JSON document describing the current
/// configuration.
///
/// Use "show" to display the current configuration in JSON format.
/// If you want to change any configuration value, you can load a profile (complete or partial)
/// using the "load" subcommand.
#[command(subcommand)]
Config(ConfigCommands),

Expand Down
6 changes: 3 additions & 3 deletions rust/agama-cli/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ use clap::Subcommand;

#[derive(Subcommand, Debug)]
pub enum ConfigCommands {
/// Shows the value of the configuration settings.
/// Generates an installation profile with the current settings.
///
/// It is possible that many configuration settings do not have a value. Those settings
/// are not included in the output.
///
/// The output of command can be used as file content for `agama config load`.
/// The output of command can be used as input for the "agama config load".
Show,

/// Loads the configuration from a JSON file.
/// Reads and loads a profile from the standard input.
Load,
}

Expand Down
6 changes: 6 additions & 0 deletions rust/package/agama.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jun 14 06:17:52 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

- Remove references to the old "config add/set" subcommands
(gh#openSUSE/agama/#1338).

-------------------------------------------------------------------
Thu Jun 13 10:50:44 UTC 2024 - Knut Anderssen <kanderssen@suse.com>

Expand Down