note

Subcommands for managing notes attached to artifacts.
Name Summary
add gest artifact note add: add a note to an artifact.
delete gest artifact note delete: delete a note from an artifact.
list gest artifact note list: list notes on an artifact.
show gest artifact note show: show a single note.
update gest artifact note update: update a note’s body.

struct Command

source

pub struct Command

Manage notes on an artifact.

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 artifact 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 artifact note, one variant for each.

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

Implements Debug, FromArgMatches, Subcommand.