Sign in

    moonbase-contracts

    Shared Moonbase commands for the CLI, the web UI and the desktop shell

    moonbase
    contract
    cli
    Download zip
    Author
    Version
    0.0.1
    License
    Apache-2.0
    Last updated
    5 hours ago
    Downloads
    3

    #moonrockz/moonbase-contracts

    Shared commands for the Moonbase CLI, the Rabbita web UI and the Proton desktop shell.

    moon add moonrockz/moonbase-contracts

    version() is the workspace version. Command names the help and version commands.

    Command

    pub enum Command {
    Help
    Version
    }

    A command the CLI, the web UI and the desktop shell all understand.

    command_name

    fn command_name(command : Command) -> String

    The name of command on the command line.

    parse_command

    fn parse_command(name : String) -> Command?

    Read a command name. --help and --version are accepted.

    version

    fn version() -> String

    The version of this module. It matches the workspace version.

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io