Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUpdateCommand ¶
CreateUpdateCommand will return update command
Types ¶
type ProjectConfig ¶
type ProjectConfig struct { ActivateProject bool `json:"activateProject" pflag:",Activates the project specified as argument."` ArchiveProject bool `json:"archiveProject" pflag:",Archives the project specified as argument."` }
Config hold configuration for project update flags.
func (ProjectConfig) GetPFlagSet ¶
func (cfg ProjectConfig) GetPFlagSet(prefix string) *pflag.FlagSet
GetPFlagSet will return strongly types pflags for all fields in ProjectConfig and its nested types. The format of the flags is json-name.json-sub-name... etc.
Click to show internal directories.
Click to hide internal directories.