Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "upload [PATH_TO_SPEC]", Short: "Upload API spec to Akita.", SilenceUsage: true, Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { uploadArgs := upload.Args{ ClientID: akid.GenerateClientID(), Domain: akiflag.Domain, Service: serviceFlag, SpecPath: args[0], SpecName: specNameFlag, UploadTimeout: uploadTimeoutFlag, } if err := upload.Run(uploadArgs); err != nil { return cmderr.AkitaErr{Err: err} } return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.