This commit is contained in:
+18
@@ -269,6 +269,24 @@ pub enum Command {
|
||||
#[arg(long, action = ArgAction::SetTrue)]
|
||||
json: bool,
|
||||
},
|
||||
/// Push the state into the configured git repository (issue #66)
|
||||
Sync {
|
||||
/// Commit message (default: "am sync — state update")
|
||||
#[arg(long, value_name = "MESSAGE")]
|
||||
message: Option<String>,
|
||||
},
|
||||
/// Transfer the installation and state to another machine (issue #68)
|
||||
Migrate {
|
||||
/// Export the bundle (default) or import one
|
||||
#[arg(long, action = ArgAction::SetTrue)]
|
||||
export: bool,
|
||||
/// Bundle path for export (default agent-manager-migrate.amx)
|
||||
#[arg(long, value_name = "FILE")]
|
||||
output: Option<PathBuf>,
|
||||
/// Bundle path to import
|
||||
#[arg(value_name = "BUNDLE")]
|
||||
bundle: Option<PathBuf>,
|
||||
},
|
||||
/// Show the most used agents (top 10)
|
||||
Top {
|
||||
/// Only events of the last period (7d, 30d, 90d, all)
|
||||
|
||||
Reference in New Issue
Block a user