Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "task", Short: "Work with TickTick tasks", Long: `Create, view, update, and manage tasks in your TickTick projects. All task commands operate on the current active project by default. You can change the current project with 'tickli project use' or specify a different project with the --project-id flag.`, Example: ` # List all tasks in current project tickli task list # Create a new task tickli task create -t "Submit quarterly report" # Complete a task tickli task complete abc123def456`, PersistentPreRunE: func(cmd *cobra.Command, args []string) error { loadClient() if projectID == "" { cfg, err := config.Load() if err != nil { return errors.Wrap(err, "failed to load config") } projectID = cfg.DefaultProjectID } return nil }, Run: func(cmd *cobra.Command, args []string) { fmt.Println("task called") }, }
View Source
var TickliClient *api.Client
Functions ¶
func RegisterProjectOverride ¶ added in v0.0.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.