8000 moss: cli: Set install/remove to pkg add/remove -h by ermo · Pull Request #909 · aerynOS/os-tools · GitHub
[go: up one dir, main page]

Skip to content

moss: cli: Set install/remove to pkg add/remove -h - #909

Merged
ermo merged 1 commit into
mainfrom
ermo/redirect-moss-it-and-install-to-pkg-add-help
Nov 6, 2026
Merged

ermo merged 1 commit into
mainfrom
ermo/redirect-moss-it-and-install-to-pkg-add-help

Conversation

@ermo
@ermo ermo commented Nov 6, 2026 •
Copy link
Copy Markdown
Member

This is to help with retraining of user expectations and mental models.

Example:

❯ ./target/debug/moss it
Add software package(s) to the implicit system-model [aliases: pad]

Usage: moss pkg add [OPTIONS] <PROVIDERS>...

Arguments:
(...)

❯ ./target/debug/moss rm
Remove software package(s) from the implicit system-model [aliases: prm]

Usage: moss pkg remove [OPTIONS] <PROVIDERS>...

Arguments:
(...)

@ermo
ermo requested review from jplatte and tarkah as code owners November 6, 2026 12:20
@khaga87
khaga87 commented Nov 6, 2026
Copy link
Copy Markdown
Contributor

Would we want to include similar information for remove Vs package remove? I'm not sure if that would be a separate PR or could be combined into this one?

@ermo
ermo force-pushed the ermo/redirect-moss-it-and-install-to-pkg-add-help branch from fec3107 to 964a682 Compare November 6, 2026 12:52
@ermo ermo changed the title moss: cli: Redirect 'moss it/install' to 'pkg add -h' moss: cli: Set install/remove to pkg add/remove -h Nov 6, 2026
This is to help with retraining of user expectations and mental models.

Examples:

    ❯ ./target/debug/moss it
    Add software package(s) to the implicit system-model [aliases: pad]

    Usage: moss pkg add [OPTIONS] <PROVIDERS>...

    Arguments:
    (...)

    ❯ ./target/debug/moss rm
    Remove software package(s) from the implicit system-model [aliases: prm]

    Usage: moss pkg remove [OPTIONS] <PROVIDERS>...

    Arguments:
    (...)

Signed-off-by: Rune Morling <ermo@aerynos.com>
@ermo
ermo force-pushed the ermo/redirect-moss-it-and-install-to-pkg-add-help branch from 964a682 to 5947ba6 Compare November 6, 2026 12:57
@ermo
ermo merged commit 05bd904 into main Nov 6, 2026
3 checks passed
@ermo
ermo deleted the ermo/redirect-moss-it-and-install-to-pkg-add-help branch November 6, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0