Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2e committed Jul 5, 2024
1 parent a99d2cc commit 7d5d345
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/ftl/cmd_secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,12 @@ func (s *secretUnsetCmd) Run(ctx context.Context, scmd *secretCmd, adminClient a
}

type secretImportCmd struct {
Input *os.File `arg:"" placeholder:"JSON" help:"JSON to import as secrets (read from stdin if omitted). Format: [{\"ref\":\"<module>.<name>\",\"value\": <secret>}, ...]" optional:"" default:"-"`
Input *os.File `arg:"" placeholder:"JSON" help:"JSON to import as secrets (read from stdin if omitted). Format: {\"<module>.<name>\": <secret>, ... }" optional:"" default:"-"`
}

func (s *secretImportCmd) Help() string {
return `
Imports secrets from a JSON array.
Imports secrets from a JSON object.
`
}

Expand Down Expand Up @@ -221,7 +221,7 @@ type secretExportCmd struct {

func (s *secretExportCmd) Help() string {
return `
Outputs secrets in a JSON array. A provider can be used to filter which secrets are included.
Outputs secrets in a JSON object. A provider can be used to filter which secrets are included.
`
}

Expand Down

0 comments on commit 7d5d345

Please sign in to comment.