cli + tui to publish to leaflet (wip) & manage tasks, notes & watch/read lists 🍃
charm leaflet readability golang
noteleaf website docs tasks operations.md
1.6 kB · 114 lines
Markdown
at main


title: Task Operations sidebar_label: Operations description: List, view, and update tasks from the CLI and TUI. sidebar_position: 3 #

Task Operations #

Listing and Filtering #

Interactive list (default):

noteleaf task list

Navigate with arrow keys, press Enter to view details, q to quit.

Static list (for scripting):

noteleaf task list --static

Filter by status:

noteleaf task list --status pending
noteleaf task list --status completed

Filter by project:

noteleaf task list --project work

Filter by priority:

noteleaf task list --priority high

Filter by context:

noteleaf task list --context @office

Show all tasks (including completed):

noteleaf task list --all

Viewing Task Details #

View complete task information:

noteleaf task view 1

JSON output for scripts:

noteleaf task view 1 --json

Brief format without metadata:

noteleaf task view 1 --format brief

Updating Tasks #

Update single attribute:

noteleaf task update 1 --priority urgent

Update multiple attributes:

noteleaf task update 1 \
  --priority urgent \
  --due tomorrow \
  --add-tag critical

Change description:

noteleaf task update 1 --description "New task description"

Add and remove tags:

noteleaf task update 1 --add-tag urgent --remove-tag later

Interactive Editing #

Open interactive editor for complex changes:

noteleaf task edit 1

This provides a TUI with visual pickers for status and priority, making updates faster than command flags.