Documentation ¶
Index ¶
- func Execute()
- func NewCmdConfig(s printers.IOStreams) *cobra.Command
- func NewCmdConfigGet(s printers.IOStreams) *cobra.Command
- func NewCmdConfigSetup(s printers.IOStreams) *cobra.Command
- func NewCmdGet(ioStreams printers.IOStreams) *cobra.Command
- func NewCmdMerge(ioStreams printers.IOStreams) *cobra.Command
- func NewCmdMergeFiles(ioStreams printers.IOStreams) *cobra.Command
- func NewCmdMergeFolder(ioStreams printers.IOStreams) *cobra.Command
- func NewCmdSync(ioStreams printers.IOStreams) *cobra.Command
- func NewCmdVersion(ioStreams printers.IOStreams) *cobra.Command
- func NewRootCmd(ioStreams printers.IOStreams) *cobra.Command
- type ConfigGetOptions
- type ConfigSetupOptions
- type GetOptions
- type MergeFilesOptions
- type MergeFolderOptions
- type RootCmdOptions
- type SyncKeyResult
- type SyncProviderOptions
- type VersionOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdConfig ¶
func NewCmdConfigGet ¶
func NewCmdConfigSetup ¶
func NewCmdMerge ¶ added in v0.1.0
func NewCmdMergeFiles ¶ added in v0.1.0
func NewCmdMergeFolder ¶ added in v0.1.0
func NewCmdSync ¶ added in v0.1.0
func NewCmdVersion ¶
func NewRootCmd ¶
NewRootCmd creates the 'root' command and configures it's nested children
Types ¶
type ConfigGetOptions ¶
func NewConfigGetOptions ¶
func NewConfigGetOptions(s printers.IOStreams) *ConfigGetOptions
func (*ConfigGetOptions) Complete ¶
func (o *ConfigGetOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*ConfigGetOptions) Validate ¶
func (o *ConfigGetOptions) Validate() error
Validate the options
type ConfigSetupOptions ¶
func NewConfigSetupOptions ¶
func NewConfigSetupOptions(s printers.IOStreams) *ConfigSetupOptions
func (*ConfigSetupOptions) Complete ¶
func (o *ConfigSetupOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*ConfigSetupOptions) Validate ¶
func (o *ConfigSetupOptions) Validate() error
Validate the options
type GetOptions ¶ added in v0.1.0
type GetOptions struct { *printers.PrinterOptions provider.Options SupportedProviders map[string]provider.NewProviderFn Key string Recursive bool }
func NewGetOptions ¶ added in v0.1.0
func NewGetOptions(ioStreams printers.IOStreams) *GetOptions
func (*GetOptions) Complete ¶ added in v0.1.0
func (o *GetOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*GetOptions) Validate ¶ added in v0.1.0
func (o *GetOptions) Validate() error
Validate the options
type MergeFilesOptions ¶ added in v0.1.0
type MergeFilesOptions struct { *printers.PrinterOptions Source []byte Destination []byte Debug bool }
func NewMergeFilesOptions ¶ added in v0.1.0
func NewMergeFilesOptions(ioStreams printers.IOStreams) *MergeFilesOptions
func (*MergeFilesOptions) Complete ¶ added in v0.1.0
func (o *MergeFilesOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*MergeFilesOptions) Run ¶ added in v0.1.0
func (o *MergeFilesOptions) Run() error
Run the command
func (*MergeFilesOptions) Validate ¶ added in v0.1.0
func (o *MergeFilesOptions) Validate() error
Validate the options
type MergeFolderOptions ¶ added in v0.1.0
type MergeFolderOptions struct { *printers.PrinterOptions cfgset.MergeOptions OutDir string }
func NewMergeFolderOptions ¶ added in v0.1.0
func NewMergeFolderOptions(ioStreams printers.IOStreams) *MergeFolderOptions
func (*MergeFolderOptions) Complete ¶ added in v0.1.0
func (o *MergeFolderOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*MergeFolderOptions) Run ¶ added in v0.1.0
func (o *MergeFolderOptions) Run() error
Run the command
func (*MergeFolderOptions) Validate ¶ added in v0.1.0
func (o *MergeFolderOptions) Validate() error
Validate the options
type RootCmdOptions ¶ added in v0.1.0
type RootCmdOptions struct { printers.IOStreams Verbose bool }
RootCmdOptions is a struct to support version command
func NewRootCmdOptions ¶ added in v0.1.0
func NewRootCmdOptions(ioStreams printers.IOStreams) *RootCmdOptions
NewRootCmdOptions returns initialized RootCmdOptions
func (*RootCmdOptions) Complete ¶ added in v0.1.0
func (o *RootCmdOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*RootCmdOptions) Validate ¶ added in v0.1.0
func (o *RootCmdOptions) Validate() error
Validate the options
type SyncKeyResult ¶ added in v0.1.0
type SyncProviderOptions ¶ added in v0.1.0
type SyncProviderOptions struct { *printers.PrinterOptions cfgset.MergeOptions provider.Options SupportedProviders map[string]provider.NewProviderFn KeyPrefix string DryRun bool }
func NewSyncProviderOptions ¶ added in v0.1.0
func NewSyncProviderOptions(ioStreams printers.IOStreams) *SyncProviderOptions
func (*SyncProviderOptions) Complete ¶ added in v0.1.0
func (o *SyncProviderOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*SyncProviderOptions) Run ¶ added in v0.1.0
func (o *SyncProviderOptions) Run() error
Run the command
func (*SyncProviderOptions) Validate ¶ added in v0.1.0
func (o *SyncProviderOptions) Validate() error
Validate the options
type VersionOptions ¶
type VersionOptions struct { *printers.PrinterOptions VersionDetails *version.DetailStruct }
func NewVersionOptions ¶
func NewVersionOptions(ioStreams printers.IOStreams) *VersionOptions
Source Files ¶
Click to show internal directories.
Click to hide internal directories.