Merge pull request #7683 from iloveitaly/multiple-env-stdin-ex

docs: example of setting multiple vars using stdin
This commit is contained in:
Nate Smith 2023-07-10 15:24:21 -07:00 committed by GitHub
commit 446aec715a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {