Skip to content

add help command for consistent UX #82

Description

@Kangie

If nattka uses commands like nattka apply, nattka commit, etc. it only makes sense to support nattka help as a command as well - to do otherwise is inconsistent with the rest of the nattka UX.

Additionally, nattka help command should show the appropriate help, perhaps with an example?

$ nattka help make-package-list
nattka make-package-list attempts to create a package list for keywording PACKAGE (along with any dependencies).

usage:
    nattka make-package-list [-h] [-a ARCH] [-p PROFILES] [-s] package [package ...]

examples: 
    $ nattka make-package-list -s 'www-client/chromium-116.0.5845.140' -a amd64 -a arm64

positional arguments:
. . .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions