tasks

package
v2.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: MIT Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatCmd

func CreatCmd() *cobra.Command

func DeleteCmd

func DeleteCmd() *cobra.Command

func EditCmd

func EditCmd() *cobra.Command

func ListCmd

func ListCmd() *cobra.Command

func Shorten

func Shorten(s string, maxLen int) string

func TasksCmd

func TasksCmd() *cobra.Command

Types

type CmdDelegate

type CmdDelegate struct {
	Verbose bool
}

func (CmdDelegate) Height

func (d CmdDelegate) Height() int

func (CmdDelegate) Render

func (d CmdDelegate) Render(w io.Writer, m list.Model, index int, item list.Item)

func (CmdDelegate) Spacing

func (d CmdDelegate) Spacing() int

func (CmdDelegate) Update

func (d CmdDelegate) Update(msg tea.Msg, m *list.Model) tea.Cmd

type CreateOptions

type CreateOptions struct {
	Title       string
	Description string
	Status      enums.TaskStatus
	Type        enums.TaskType
}

type DeleteOptions

type DeleteOptions struct {
	ID      int
	Confirm bool
}

type EditOptions

type EditOptions struct {
	ID          int
	Title       string
	Description string
	Status      enums.TaskStatus
	Type        enums.TaskType
}

type ListOptions

type ListOptions struct {
	Raw     bool
	Verbose bool
}

Jump to

Keyboard shortcuts

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