Skip to content

moss: Discuss a CLI #196

Open
Open
@livingsilver94

Description

@livingsilver94

We need a sane CLI for moss. Let's talk about subcommands and flags:

moss
├── repository
│   ├── add (ra)     Adds a new repository.
│   │   ├── <name>
│   │   └── <url>
│   └── remove (rr)  Removes a repository.
│       └── <name>
└── package
    ├── install (it. Or in?)  Installs package(s) from a file path or by name in the repo.
    │   ├── <packagename> ...
    │   └── --reinstall
    ├── remove (rm)           Removes package(s).
    │   └── <packagename> ...
    ├── update (up)           Updates the installed packages.
    └── search (sr)           Searches packages by name and summary.
        └── <keyword> ...
# Globals
├── -D, --directory  Overrides the system root.
├── -h, --help.      Shows help and quits. Valid for subcommand helps too.
└── --version        Prints moss version and quits.

(Tree generator for fast layout).

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: documentationImprovements or additions to documentation.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions