Skip to content

Some feature proposals #28

@invrtd-h

Description

@invrtd-h

Hello. I've thought of a few features that would be nice to have in climate. Are you interested in these?

  1. Add a new builtin command ‘--version’ (The current ‘version’ argument is only used when generating manpages)

  2. Add tty-interactive output capability. Currently, if I try to output help messages to a non-terminal destination, the ANSI escape codes are printed verbatim. We need functionality to detect if the output destination is a terminal and output plain text otherwise. (I tried implementing this once, but I'm unsure whether to store the tty-interactive option in Help_style.t or elsewhere...)

  3. Add functionality to manage a short summary and a long description separately, similar to Rust's clap crate. The short summary is output via the ‘-h’ option, and the long description via the ‘--help’ option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions