Skip to content

Commit 45bc445

Browse files
authored
chore(shared secrets): add example using --team '*' for get shared secret (#533)
1 parent da9523c commit 45bc445

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

command/secret/get.go

+5-3
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,13 @@ EXAMPLES:
9494
$ {{.HelpName}} --secret.engine native --secret.type repo --org MyOrg --repo MyRepo
9595
2. Get organization secret details.
9696
$ {{.HelpName}} --secret.engine native --secret.type org --org MyOrg
97-
3. Get shared secret details.
97+
3. Get shared secret details for an organization.
98+
$ {{.HelpName}} --secret.engine native --secret.type shared --org MyOrg --team '*'
99+
4. Get shared secret details for a team.
98100
$ {{.HelpName}} --secret.engine native --secret.type shared --org MyOrg --team octokitties
99-
4. Get repository secret details with json output.
101+
5. Get repository secret details with json output.
100102
$ {{.HelpName}} --secret.engine native --secret.type repo --org MyOrg --repo MyRepo --output json
101-
5. Get secret details when config or environment variables are set.
103+
6. Get secret details when config or environment variables are set.
102104
$ {{.HelpName}} --org MyOrg --repo MyRepo
103105
104106
DOCUMENTATION:

0 commit comments

Comments
 (0)