FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update help output by fuskovic · Pull Request #17 · coder/cli · GitHub

This repository was archived by the owner on Oct 17, 2021. It is now read-only.

Repository navigation

Update help output - #17

Merged
fuskovic merged 3 commits into
masterfrom
update-help-output-format
Aug 4, 2020
Merged

fuskovic merged 3 commits into
masterfrom
update-help-output-format

Conversation

Copy link
Copy Markdown
Contributor

What does this do?

Updates the help output.

Why?

It looks like this :

Usage: coder users [subcommand] <flags>

Aliases: [u usr]interact with user accounts

Commands:
        ls  - list all users

But we want it to look like this:

Usage: coder users [subcommand] <flags>

Aliases: u, usr

Description: interact with user accounts

Commands:
        ls  - list all users

Were the tests updated?

Yes

Are they still passing?

Yes

=== RUN   TestSubCmdAliases/s
=== RUN   TestSubCmdAliases/sc
=== RUN   TestSubCmdAliases/sub
--- PASS: TestSubCmdAliases (0.00s)
    --- PASS: TestSubCmdAliases/s (0.00s)
    --- PASS: TestSubCmdAliases/sc (0.00s)
    --- PASS: TestSubCmdAliases/sub (0.00s)
=== RUN   TestSubcmdAliasesInParentCmdHelpOutput
--- PASS: TestSubcmdAliasesInParentCmdHelpOutput (0.00s)
=== RUN   TestSubCmdHelpOutput
=== RUN   TestSubCmdHelpOutput/subcmd_w/nested_subcmd.
=== RUN   TestSubCmdHelpOutput/subcmd_w/no_nested_subcmds.
--- PASS: TestSubCmdHelpOutput (0.00s)
    --- PASS: TestSubCmdHelpOutput/subcmd_w/nested_subcmd. (0.00s)
    --- PASS: TestSubCmdHelpOutput/subcmd_w/no_nested_subcmds. (0.00s)
PASS
ok  	go.coder.com/cli	0.177s

fuskovic requested review from cmoog, coadler and scsmithr July 31, 2020 15:57

creack left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

A couple of nit-picky details, but lgtm.

Comment thread command_test.go Outdated
Comment thread help.go Outdated
Comment thread help.go Outdated
Comment thread command_test.go Outdated
Comment thread command_test.go Outdated
fuskovic requested a review from creack August 4, 2020 15:15
fuskovic force-pushed the update-help-output-format branch from a284572 to 6615750 Compare August 4, 2020 16:31
fuskovic merged commit 42c337d into master Aug 4, 2020
fuskovic deleted the update-help-output-format branch August 4, 2020 16:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL