Documentation ¶
Index ¶
- type Options
- func (o *Options) GetCommonField() *cli.StringSliceFlag
- func (o *Options) GetDirectoryFlag() *cli.StringFlag
- func (o *Options) GetFileList() *cli.StringSliceFlag
- func (o *Options) GetIDField() *cli.StringFlag
- func (o *Options) GetOutputFilename() *cli.StringFlag
- func (o *Options) GetOutputPath() *cli.StringFlag
- func (o *Options) GetTag() *cli.StringFlag
- func (o *Options) GetTitle() *cli.StringFlag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { CommonFields cli.StringSlice Directory string FileList cli.StringSlice IDField string OutputFilename string OutputPath string Tag string Title string }
Options describe the allowed options of the cli tool.
func (*Options) GetCommonField ¶
func (o *Options) GetCommonField() *cli.StringSliceFlag
GetCommonField returns the definition for common_field flag
func (*Options) GetDirectoryFlag ¶
func (o *Options) GetDirectoryFlag() *cli.StringFlag
GetDirectoryFlag returns the definition for directory flag.
func (*Options) GetFileList ¶
func (o *Options) GetFileList() *cli.StringSliceFlag
GetFileList returns the definition for file_list flag.
func (*Options) GetIDField ¶
func (o *Options) GetIDField() *cli.StringFlag
GetIDField returns the definition for id_field flag.
func (*Options) GetOutputFilename ¶
func (o *Options) GetOutputFilename() *cli.StringFlag
GetOutputFilename returns the definition for output_filename flag.
func (*Options) GetOutputPath ¶
func (o *Options) GetOutputPath() *cli.StringFlag
GetOutputPath returns the definition for output_path flag.
Click to show internal directories.
Click to hide internal directories.