cmdutil

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigOverrides

func ConfigOverrides(cmd *cobra.Command, args []string) error

func EnsureDoneFileExists

func EnsureDoneFileExists(cmd *cobra.Command, args []string) error

func EnsureNotesDirExists added in v0.4.0

func EnsureNotesDirExists(cmd *cobra.Command, args []string) error

func EnsureTodoFileExits

func EnsureTodoFileExits(cmd *cobra.Command, args []string) error

func LoadDoneList

func LoadDoneList(cmd *cobra.Command, args []string) error

func LoadList

func LoadList(cmd *cobra.Command, args []string) error

func ParseTaskSelection

func ParseTaskSelection(defaultQuery string, guess, qqlSearch, rngSearch, stringSearch []string) (qselect.Func, error)

func RegisterMacros

func RegisterMacros(cmd *cobra.Command, args []string) error

func RegisterSelectionFlags

func RegisterSelectionFlags(cmd *cobra.Command, qql *[]string, rng *[]string, str *[]string, all *bool)

func SaveDoneList

func SaveDoneList(cmd *cobra.Command, args []string) error

func SaveList

func SaveList(cmd *cobra.Command, args []string) error

func Steps

func Steps(steps ...func(*cobra.Command, []string) error) func(*cobra.Command, []string) error

func SyncConflictProtection

func SyncConflictProtection(cmd *cobra.Command, args []string) error

Types

type CtxKey

type CtxKey string
var (
	DiKey       CtxKey = "DI"
	ListKey     CtxKey = "list"
	DoneListKey CtxKey = "done-list"
)

Jump to

Keyboard shortcuts

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