Skip to main content

Tasks CLI

Manage tasks

These commands connect to a running CodeBolt server. All subcommands inherit the global codebolt command options --port <number>, --host <string>, and --json.

Subcommands

SubcommandDescriptionArgsOptions
listList / search tasks02
getGet task details by ID10
createCreate a new task03
deleteDelete a task by ID10
statsShow task statistics00

list

List / search tasks

codebolt command tasks list [options]

Arguments

This command takes no positional arguments.

Options

FlagsRequiredDescription
--status <status>NoFilter by status
--limit <number>NoMax results

get

Get task details by ID

codebolt command tasks get <id>

Arguments

ArgumentDescription
<id>Task ID

Options

This command takes no options.

create

Create a new task

codebolt command tasks create [options]

Arguments

This command takes no positional arguments.

Options

FlagsRequiredDescription
--title <title>YesTask title
--description <text>NoTask description
--priority <level>NoTask priority

delete

Delete a task by ID

codebolt command tasks delete <id>

Arguments

ArgumentDescription
<id>Task ID

Options

This command takes no options.

stats

Show task statistics

codebolt command tasks stats

Arguments

This command takes no positional arguments.

Options

This command takes no options.