Discover Packages
github.com/SouthbankSoftware/proofable
cmd
proofable-cli
cmd
package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Dec 21, 2020
License: AGPL-3.0
Opens a new window with license information.
Imports: 31
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
type CloudTrie struct {
ID string `json:"id"`
ProofID string `json:"proofId"`
}
CloudTrie represents the info object for a cloud trie
Load loads the cloud trie from a file
Save saves the cloud trie to a file
Source Files
¶
Click to show internal directories.
Click to hide internal directories.