Skip to content

Show available commands when using --help#523

Merged
soutaro merged 1 commit intosoutaro:masterfrom
kyoto7250:show_subcommand_in_help
Apr 1, 2022
Merged

Show available commands when using --help#523
soutaro merged 1 commit intosoutaro:masterfrom
kyoto7250:show_subcommand_in_help

Conversation

@kyoto7250
Copy link
Contributor

This PR adds banner for showing available commands when using --help option.

before

$> steep --help                                                                                                                                                                         
Usage: steep [options]
        --version
        --log-level=LEVEL            Specify log level: debug, info, warn, error, fatal
        --log-output=PATH            Print logs to given path
        --verbose                    Set log level to debug

after

$> steep --help                                                                                                                                                        
Usage: steep [options]

available commands: init, check, validate, annotations, version, project, watch, langserver, stats

Options:
        --version
        --log-level=LEVEL            Specify log level: debug, info, warn, error, fatal
        --log-output=PATH            Print logs to given path
        --verbose                    Set log level to debug

@kyoto7250 kyoto7250 marked this pull request as ready for review March 29, 2022 10:03
Copy link
Owner

@soutaro soutaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 🎉

@soutaro soutaro enabled auto-merge April 1, 2022 13:54
@soutaro soutaro merged commit b897548 into soutaro:master Apr 1, 2022
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