todoist

package
v0.0.0-...-71090b4 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetModule

func GetModule() common.Module

Types

type Row

type Row struct {
	Id          string
	Priority    string
	Due         string
	Project     string
	Labels      string
	Description string
}

type Task

type Task struct {
	Id          string
	Priority    string
	Due         *time.Time
	Project     string
	Labels      []string
	Description string
}

func (*Task) ToRow

func (t *Task) ToRow() *Row

type Todoist

type Todoist struct {
	Name        string
	Description string
	Slug        string
	// contains filtered or unexported fields
}

func (*Todoist) GetDescription

func (m *Todoist) GetDescription() string

func (*Todoist) GetLastRun

func (m *Todoist) GetLastRun() string

func (*Todoist) GetName

func (m *Todoist) GetName() string

func (*Todoist) GetRunInterval

func (m *Todoist) GetRunInterval() int64

func (*Todoist) GetRunIntervalOnBattery

func (m *Todoist) GetRunIntervalOnBattery() int64

func (*Todoist) GetSlug

func (m *Todoist) GetSlug() string

func (*Todoist) GetWaybarOutput

func (m *Todoist) GetWaybarOutput() (*common.WaybarOutput, error)

func (*Todoist) IsEnabled

func (m *Todoist) IsEnabled() bool

func (*Todoist) Run

func (m *Todoist) Run() error

func (*Todoist) RunCommand

func (m *Todoist) RunCommand(name string, args []string) error

func (*Todoist) SaveLastRun

func (m *Todoist) SaveLastRun()

func (*Todoist) SuspendOnBattery

func (m *Todoist) SuspendOnBattery() bool

func (*Todoist) WriteOutput

func (m *Todoist) WriteOutput() error

Jump to

Keyboard shortcuts

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