Documentation
¶
Overview ¶
Package siftool adds siftool commands to a parent cobra.Command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommands ¶
func AddCommands(cmd *cobra.Command, opts ...CommandOpt) error
AddCommands adds siftool commands to cmd according to opts.
A set of commands are provided to display elements such as the SIF global header, the data object descriptors and to dump data objects. It is also possible to modify a SIF file via this tool via the add/del commands.
Types ¶
type CommandOpt ¶
type CommandOpt func(*commandOpts) error
CommandOpt are used to configure optional command behavior.
func OptWithExperimental ¶ added in v2.7.0
func OptWithExperimental(b bool) CommandOpt
OptWithExperimental enables/disables experimental commands.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.