Documentation
¶
Index ¶
- Variables
- func CliSigilCompletions(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func PickColumn(label string, project types.Project, columnFilter *string) (*types.Column, error)
- func PickProject(label string, projectFilter *string) (*types.Project, error)
- func PickTask(label string, project types.Project, column types.Column, filter *string) (*types.Task, error)
- func ReadConfig() error
- func SelectColumn(label string, columns []*types.Column, autoSelect bool) (*types.Column, error)
- func SelectProject(label string, projects []*types.Project, autoSelect bool) (*types.Project, error)
- func SelectTask(label string, tasks []*types.Task, autoSelect bool) (*types.Task, error)
- func StripSigil(s string) (string, string)
- func WriteConfig() error
- type CommonArgs
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ProjectSigil = "%%" ColumnSigil = "%" FromColumnSigil = "^%" SearchSigil = "/" MoreSuffix = "+" )
Functions ¶
func CliSigilCompletions ¶
func PickColumn ¶
func ReadConfig ¶
func ReadConfig() error
func SelectColumn ¶
func SelectProject ¶
func SelectTask ¶
func StripSigil ¶
func WriteConfig ¶
func WriteConfig() error
Types ¶
type CommonArgs ¶
type CommonArgs struct { Project *string Column *string FromColumn *string Search *string More bool Args []string }
func ParseCommonArgs ¶
func ParseCommonArgs(args []string) CommonArgs
Click to show internal directories.
Click to hide internal directories.