Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "antha", Short: "Antha command line tool", SilenceUsage: true, }
RootCmd is base command when called without any subcommands
Functions ¶
func Execute ¶
Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GetStringSlice ¶
GetStringSlice gets a slice of values for a key.
It is workaround for a bug in viper: string slice flags like:
["a", "b"]
are flattened to a string slice like this:
["[a,b]"]
Types ¶
type ConversionDetails ¶
type ConversionDetails struct { OldElementName string `json:"old-element-name"` NewElementName string `json:"new-element-name"` NewParameterMapping map[string]string `json:"new-parameter-mapping"` DeprecatedParameters []string `json:"deprecated-parameters"` NewParameters map[string]json.RawMessage `json:"new-parameters"` ParameterTypeChanges map[string]json.RawMessage `json:"parameter-type-changes"` }
type NewElementMappingDetails ¶
type NewElementMappingDetails struct {
ConversionDetails `json:"new-element-mapping-details"`
}
func (NewElementMappingDetails) Empty ¶
func (c NewElementMappingDetails) Empty() bool
Source Files ¶
- compile.go
- convert.go
- convert_all_bundle_parameters.go
- convert_bundle_parameters.go
- convert_from_ui.go
- convert_to_ui.go
- format.go
- gitcommit.go
- list.go
- list_components.go
- list_elements.go
- list_plates.go
- list_policies.go
- list_policy_commands.go
- metadata.go
- metadata_add_tags.go
- new.go
- new_element.go
- new_plate.go
- new_reporttemplate.go
- root.go
- run.go
- upgrade-all-test-bundles.go
- viper.go
Click to show internal directories.
Click to hide internal directories.