We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e1728e commit bce4efdCopy full SHA for bce4efd
cli/cmd/customer_download_license.go
@@ -32,7 +32,16 @@ You must specify the customer using either their name or ID with the --customer
32
33
# Download license for a customer in a specific app (if you have multiple apps)
34
replicated customer download-license --app myapp --customer "Acme Inc" --output license.yaml`,
35
- RunE: func(cmd *cobra.Command, args []string) error {
+ RunE: func(cmd *cobra.Command, args []string) (err error) {
36
+
37
+ if customer, err = cmd.Flags().GetString("customer"); err != nil {
38
+ return err
39
+ }
40
41
+ if output, err = cmd.Flags().GetString("output"); err != nil {
42
43
44
45
return r.downloadCustomerLicense(cmd, customer, output)
46
},
47
SilenceUsage: true,
0 commit comments