Merge pull request #7683 from iloveitaly/multiple-env-stdin-ex
docs: example of setting multiple vars using stdin
This commit is contained in:
commit
446aec715a
1 changed files with 3 additions and 0 deletions
|
|
@ -93,6 +93,9 @@ func NewCmdSet(f *cmdutil.Factory, runF func(*SetOptions) error) *cobra.Command
|
|||
|
||||
# Set multiple secrets imported from the ".env" file
|
||||
$ gh secret set -f .env
|
||||
|
||||
# Set multiple secrets from stdin
|
||||
$ gh secret set -f - < myfile.txt
|
||||
`),
|
||||
Args: cobra.MaximumNArgs(1),
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue