systemprompt_models/modules/
cli_paths.rs1#[derive(Debug, Clone, Copy)]
5pub struct CliPaths;
6
7impl CliPaths {
8 pub const ADMIN: &'static str = "admin";
9 pub const INFRA: &'static str = "infra";
10 pub const AGENTS: &'static str = "agents";
11 pub const DB: &'static str = "db";
12 pub const SERVICES: &'static str = "services";
13 pub const RUN: &'static str = "run";
14 pub const MIGRATE: &'static str = "migrate";
15 pub const SERVE: &'static str = "serve";
16
17 pub const fn agent_run_args() -> [&'static str; 3] {
18 [Self::ADMIN, Self::AGENTS, Self::RUN]
19 }
20
21 pub const fn db_migrate_args() -> [&'static str; 3] {
22 [Self::INFRA, Self::DB, Self::MIGRATE]
23 }
24
25 pub const fn db_migrate_cmd() -> &'static str {
26 "infra db migrate"
27 }
28
29 pub const fn services_serve_cmd() -> &'static str {
30 "infra services serve"
31 }
32
33 pub const fn agent_run_cmd_pattern() -> &'static str {
34 "admin agents run"
35 }
36}