Add --dry option to view the generated spec without saving (#1504)
This commit is contained in:
@@ -33,7 +33,7 @@ func Commands() *cobra.Command {
|
||||
Required: []flag.Flag{flag.MqtFnName, flag.MqtTopic},
|
||||
Optional: []flag.Flag{flag.MqtName, flag.MqtMQType, flag.MqtRespTopic,
|
||||
flag.MqtErrorTopic, flag.MqtMaxRetries, flag.MqtMsgContentType,
|
||||
flag.NamespaceFunction, flag.SpecSave},
|
||||
flag.NamespaceFunction, flag.SpecSave, flag.SpecDry},
|
||||
})
|
||||
|
||||
updateCmd := &cobra.Command{
|
||||
|
||||
Reference in New Issue
Block a user