options

package
v0.0.0-...-ddd2cd8 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAllCollectionsArg

func AddAllCollectionsArg(cmd *cobra.Command, o *CollectionOptions)

func AddCollectionArgs

func AddCollectionArgs(cmd *cobra.Command, o *CollectionOptions)

func AddIDArgs

func AddIDArgs(cmd *cobra.Command, o *IDOptions)

func AddLogArgs

func AddLogArgs(cmd *cobra.Command, o *LogOptions)

func AddOnArgs

func AddOnArgs(cmd *cobra.Command, o *OnOptions)

func AddShowIDArgs

func AddShowIDArgs(cmd *cobra.Command, o *IDOptions)

func AddSigArgs

func AddSigArgs(cmd *cobra.Command, o *SigOptions)

Types

type AddOptions

type AddOptions struct {
	Message string
}

AddOptions

type CollectionOptions

type CollectionOptions struct {
	Bullet     glyph.Bullet
	Collection string
	All        bool
	List       bool
}

CollectionOptions

type IDOptions

type IDOptions struct {
	ShowID bool
	ID     string
}

IDOptions

type LogOptions

type LogOptions struct {
	Day    bool
	Month  bool
	Future bool
}

LogOptions

type OnOptions

type OnOptions struct {
	OnString string
}

AddOn

func (*OnOptions) GetOn

func (o *OnOptions) GetOn() (*time.Time, error)

type SigOptions

type SigOptions struct {
	Priority      bool
	Inspiration   bool
	Investigation bool
}

SigOptions

Jump to

Keyboard shortcuts

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