Sign in

    mission-control-cli

    Mission Control command-line application

    mission-control
    command-line
    moonx
    Download zip
    Author
    Version
    0.1.0
    License
    Apache-2.0
    Last updated
    1 hour ago
    Downloads
    22

    #mission-control

    The Mission Control command.

    mission-control version mission-control help

    The command exits with 0 for success, 1 for a failure and 2 for a usage error, such as an unknown command.

    Install a native binary from a GitHub release:

    mise use -g github:moonrockz/mission-control

    Run the published module without a native install:

    moonx moonrockz/mission-control-cli@latest version

    ExitCodeError

    pub(all) suberror ExitCodeError {
    InvalidExitCode(Int)
    } derive(Eq,
    Debug
    )

    Raised when a number is not an exit code.

    ExitCode

    The exit code of a process: a number from 0 to 255.

    ExitCode::ExitCode

    fn ExitCode::ExitCode(value : Int) -> ExitCode raise ExitCodeError

    ExitCode::failure

    fn ExitCode::failure() -> ExitCode

    1: the command failed.

    ExitCode::success

    fn ExitCode::success() -> ExitCode

    0: the command did what it was asked.

    ExitCode::to_int

    fn ExitCode::to_int(self : ExitCode) -> Int

    ExitCode::usage

    fn ExitCode::usage() -> ExitCode

    2: the arguments are not a valid use of the command.

    Run

    pub enum Run {
    Text(String)
    Unknown(String)
    }

    What run decided to do with the arguments.

    Run::exit_code

    fn Run::exit_code(self : Run) -> ExitCode

    The exit code of the result: success for text, a usage error for an unknown command.

    run

    fn run(args : Array[String]) -> Run

    Run one invocation. args does not include the program name.

    usage

    fn usage() -> String

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io