siftool

package
v2.15.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL