Documentation
¶
Overview ¶
Package cmdutil provides shared flags and configuration utilities for starmap commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExportFlags ¶
ExportFlags holds flags for export command.
func AddExportFlags ¶
func AddExportFlags(cmd *cobra.Command) *ExportFlags
AddExportFlags adds export-specific flags.
type FetchFlags ¶
FetchFlags holds flags for fetch command.
func AddFetchFlags ¶
func AddFetchFlags(cmd *cobra.Command) *FetchFlags
AddFetchFlags adds fetch-specific flags.
type GlobalFlags ¶
GlobalFlags holds common flags across all commands.
func AddGlobalFlags ¶
func AddGlobalFlags(cmd *cobra.Command) *GlobalFlags
AddGlobalFlags adds common flags to the root command.
type ResourceFlags ¶
type ResourceFlags struct {
Provider string
Author string
Limit int
Search string
Filter []string
All bool
}
ResourceFlags holds flags for resource-specific operations.
func AddResourceFlags ¶
func AddResourceFlags(cmd *cobra.Command) *ResourceFlags
AddResourceFlags adds resource-specific flags to a command.
type UpdateFlags ¶
type UpdateFlags struct {
Provider string
Source string
DryRun bool
Force bool
AutoApprove bool
Output string
Input string
Cleanup bool
Reformat bool
}
UpdateFlags holds flags for update command.
func AddUpdateFlags ¶
func AddUpdateFlags(cmd *cobra.Command) *UpdateFlags
AddUpdateFlags adds update-specific flags to the update command.
Click to show internal directories.
Click to hide internal directories.