Commit f8af370
committed
docs(cli): list valid --privilege values in service-account help
The --privilege flag is required and validated only server-side, so a typo
(e.g. --privilege membr) failed with a round-trip error giving no hint of the
accepted values. List them in the flag help, mirroring the --type flag's
validEnvTypesList pattern: a single-source-of-truth constant
(validServiceAccountPrivilegesList = "admin, member, snapshotter, reader")
embedded as "One of: [...]". Shared by create and update service-account.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SWQ362qtJBoP3ncxRck9qu1 parent 0b564fc commit f8af370
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
97 | 102 | | |
98 | 103 | | |
99 | 104 | | |
| |||
121 | 126 | | |
122 | 127 | | |
123 | 128 | | |
124 | | - | |
| 129 | + | |
125 | 130 | | |
126 | 131 | | |
127 | 132 | | |
| |||
0 commit comments