note

task note subcommand tree for managing notes attached to tasks.
Name Summary
add gest task note add: add a note to a task.
delete gest task note delete: delete a note from a task.
list gest task note list: list notes on a task.
show gest task note show: show a single note.
update gest task note update: update a note’s body.

struct Command

source

pub struct Command

Manage notes on a task.

Field Type Description
subcommand Sub The subcommand to run.

Implements FromArgMatches, Args, Debug.

Command::call

source

pub async fn call(&self, context: &AppContext) -> Result<(), Error>

Dispatch to the matched task note subcommand.

Parameter Type Description
context &AppContext the application context: settings, store and current project
returns Result<(), Error> The result of the subcommand that ran.

enum Sub

source

enum Sub

The subcommands of gest task note, one variant for each.

Variant Description
Add(add::Command) Add a note to a task.
Delete(delete::Command) Delete a note from a task.
List(list::Command) List notes on a task.
Show(show::Command) Show a single note.
Update(update::Command) Update a note’s body.

Implements Debug, FromArgMatches, Subcommand.