Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Force = false Simulate = false Sort = "none" Verbose = false IgnoreDirectories = false NoIndex = false NoMove = false NoExt = false NoMkdir = false Soft = false AllowedSortValues = []string{"none", "alphabet", "reverse-alphabet", "date", "reverse-date", "size", "reverse-size"} )
Default Values
Functions ¶
This section is empty.
Types ¶
type CommonOptions ¶
type CommonOptions struct { Force bool Simulate bool Sort string Verbose bool IgnoreDirectories bool NoIndex bool NoExt bool NoMkdir bool }
func GetCommonOptions ¶
func GetCommonOptions(cmd *cobra.Command) CommonOptions
type LinkOptions ¶
type LinkOptions struct { CommonOptions Soft bool }
func GetLinkOptions ¶
func GetLinkOptions(cmd *cobra.Command) LinkOptions
type MoveOptions ¶
type MoveOptions struct { CommonOptions NoMove bool }
func GetMoveOptions ¶
func GetMoveOptions(cmd *cobra.Command) MoveOptions
Click to show internal directories.
Click to hide internal directories.