feat: phase 2 — am web : dashboard web local + API JSON (contrats --json, 127.0.0.1, tiny_http, frontend embarqué) (closes #54)
release / linux (push) Successful in 14m16s
release / windows (push) Canceled after 0s
release / macos (push) Canceled after 0s

This commit is contained in:
2026-08-18 16:40:15 -04:00
parent 7f4d74f811
commit fa51cdb339
20 changed files with 1392 additions and 40 deletions
+13
View File
@@ -273,6 +273,8 @@ pub enum Command {
#[arg(long, action = ArgAction::SetTrue)]
json: bool,
},
/// Local read-only web dashboard with charts (issue #54)
Web(WebArgs),
/// Push the state into the configured git repository (issue #66)
Sync {
/// Commit message (default: "am sync — state update")
@@ -606,6 +608,17 @@ pub struct PluginsArgs {
pub test: Option<String>,
}
/// Arguments of the web command (issue #54).
#[derive(Args, Debug, Clone, Default)]
pub struct WebArgs {
/// Port to listen on (default 7878)
#[arg(long, value_name = "PORT")]
pub port: Option<u16>,
/// Do not open the browser automatically
#[arg(long, action = ArgAction::SetTrue)]
pub no_open: bool,
}
/// Remote catalog subcommands (issues #60 #67).
#[derive(Subcommand, Debug, Clone)]
pub enum CatalogCmd {