Commit 2eb59c9
committed
commands: hide Git credential helper actions from
`get`, `store`, `erase`, and `capability` are entry points used by
Git itself over the credential helper protocol. They are not
user-facing commands: invoking them by hand requires writing the
key=value protocol on standard input, and they have no useful
behaviour outside of being called by Git. Listing them in
`git-credential-manager --help` is just noise that distracts from
the commands a human actually runs (configure, unconfigure,
diagnose, and the per-provider subcommands).
Set IsHidden = true on each of the four commands. They remain
fully invokable (Git's calls are unaffected), they just no longer
appear in the top-level help listing.
Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
Assisted-by: Claude Opus 4.7--help
1 parent 7f2ed25 commit 2eb59c9
4 files changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
0 commit comments