Skip to content

Review how "help" works #110

Closed
1 of 1 issue completed
Closed

Description

@jenstopp

Initially, the idea was to print the help text of the main module of a command.

Alternative proposal:
Print the command's description followed by the help messages of all used modules.
The help messages of the modules should dynamically include the module configuration.

Maybe there should be two methods in the module interface instead of "help": "info" and "usage".
In the mentioned proposal, the "info" method is called on all modules of a command, except from the main module. For the main module, the "usage" function is called.

The "info" functions prints module information including configured settings, whereas the "usage" function gives information on what cmd line arguments can be used.

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added this to the Release v1.0.0 milestone on Nov 17, 2024
  2. locked and limited conversation to collaborators on Jul 25, 2025
  3. converted this issue into a discussion #191 on Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions