Shared Mission Control commands for the CLI, the web UI and the desktop shell
moon add moonrockz/mission-control-contracts| Path | Value |
|---|---|
| kb validate | Kb(Validate) |
| kb rules list, show, check, test | Kb(Rules(List)), ... |
| kb profiles list, show | Kb(Profiles(List)), ... |
| config show | Config(Show) |
| project add, remove, list, show | Project(Add), ... |
| Command | Request | Reply |
|---|---|---|
| app_info | EmptyRequest | AppInfo |
| list_projects | EmptyRequest | Array[Project] |
| add_project | AddProject | AddedProject |
| open_project | ProjectId | Project |
| remove_project | ProjectId | Project |
| show_project | ShownProject | Project |
| stop_app | EmptyRequest | Stopping |
| choose_folder | EmptyRequest | ChosenFolder |
| Event | Payload |
|---|---|
| projects_changed | Array[Project] |
| project_shown | ShownProject |
| app_stopping | Stopping |
| Type | Rule | JSON |
|---|---|---|
| InstanceName | 1 to 32 lower-case letters, digits and hyphens, with a letter at the start | "review-42" |
| ProjectId | A whole number from 1 | 3 |
| UnixMillis | Milliseconds since 1970, from 0 | "1764720000000" |
pub(all) enum Command {
Help
Version
Kb(KbCommand)
Config(ConfigCommand)
Project(ProjectCommand)
Web
Desktop
Status
Stop
Serve
} derive(Eq, Debug)Install
Download zipShared Mission Control commands for the CLI, the web UI and the desktop shell