Discover Packages
github.com/SouthbankSoftware/proofable
cmd
proofable-cli
cmd
package
Version:
v0.2.16
Opens a new window with list of versions in this module.
Published: Oct 15, 2020
License: AGPL-3.0
Opens a new window with license information.
Imports: 26
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Execute adds all child commands to the root command and sets flags appropriately.
This is called by main.main(). It only needs to happen once to the rootCmd
type CLIConfig struct {
APIHostPort string `json:"apiHostPort"`
APISecure bool `json:"apiSecure"`
ProvendbAPIGatewayEndpoint string `json:"provendbApiGatewayEndpoint"`
DevToken string `json:"devToken,omitempty"`
}
CLIConfig represents a CLI config
Load loads the CLI config from the user's config location
Save saves the CLI config to the user's config location
Source Files
¶
Click to show internal directories.
Click to hide internal directories.