--help to see the same information in your terminal.
Conventions
<task>is a ticket ID such asKAN-12, or a task ID.-p,--projecttakes a project key such asKAN, or a project ID. Without it, the CLI usesKANEO_PROJECTor the project in.kaneo.json.- Dates accept
YYYY-MM-DD,today,tomorrowor a number of days ahead such as+3d. Edit commands also acceptnoneto clear a date. - Arguments in
[brackets]are optional. Many of them open a picker or a prompt when you run the command in a terminal. In scripts, pass them. - Commands that delete or remove data ask for confirmation in a terminal. In scripts they stop with an error until you pass
-y,--yes. - Repeatable flags can be passed more than once.
Global flags
These work with every command.Account and setup
kaneo
Shows your account, workspace, open tasks and the main commands.
kaneo login
--no-browser prints the sign-in link instead of opening a browser. Add --api-url for a self-hosted server, and --profile to store the login under a name other than default.
kaneo logout
Signs out and forgets the stored token.
kaneo whoami
Shows the account and server you are using. Terminals that can show images also show your avatar.
kaneo context
Shows the server, web app, profile, account, workspace, project, config file and output mode in use, and where each value came from: a flag, an environment variable, .kaneo.json or the stored login.
kaneo doctor
Checks the config file, that the server answers, that you are signed in, that the workspace exists, and that the server has every API operation this CLI uses. Exits with code 1 when a check fails.
kaneo link
.kaneo.json. In a terminal, missing values are picked from a list. In scripts, pass both. -w takes a workspace ID or slug here.
kaneo unlink
.kaneo.json, and deletes the file when nothing else is left in it. It asks first in a terminal. In scripts it unlinks right away.
kaneo profile list
Lists stored logins with the server and user of each.
kaneo profile use
kaneo profile rename
kaneo profile remove
Tasks
kaneo task list
kaneo task mine
--all-workspaces includes every workspace you belong to.
kaneo task view
kaneo task create
kaneo task edit
kaneo task open
kaneo task status
in-progress or Done.
kaneo task move
-s, --status picks the column in the destination project. By default the task keeps the same column, or goes to the first one.
kaneo task duplicate
--title sets the title of the copy. -p puts the copy in another project.
kaneo task bulk
kaneo task assign
me, an email address, a name or a user ID. --unassign removes the assignee.
kaneo task field
yes or no, an option, or comma-separated options. --clear removes the value.
kaneo task comment
kaneo task attach
kaneo task images
--max shows at most this many images. Default: 10. JSON output lists every image unless you pass --max.
kaneo task relation list
kaneo task relation add
<type> says how the first task relates to the other: subtask-of, parent-of, blocks, blocked-by or relates-to.
kaneo task relation remove
-t, --type removes only that relation. When several relations would be removed, the CLI asks first.
kaneo task link list
kaneo task link add
http or https link to a task. -t, --title sets the text shown instead of the address.
kaneo task link remove
<link> is the link ID from kaneo task link list (the first characters are enough) or its URL.
kaneo task activity
-L, --limit shows only the latest events. Default: 30.
kaneo task delete
kaneo task export
kaneo task import. -o, --output writes to a file instead of stdout.
kaneo task import
- for stdin. The file is the output of kaneo task export, or a JSON array of tasks that each have at least a title. Labels are not imported. --dry-run checks the file and shows what would be imported.
Comments
kaneo comment list
-L, --limit shows only the latest comments. Default: 50.
kaneo comment add
- to read stdin, or -F, --file to read a file (- for stdin). With no text, it is read from stdin.
kaneo comment edit
- to read stdin, or -F, --file. In a terminal, it is asked for when you leave it out. Get the ID from kaneo comment list.
kaneo comment delete
Labels
kaneo label list
Lists the labels in your workspace.
kaneo label create
-c, --color takes a hex color such as #e7000b, or one of stone, slate, lavender, sage, forest, amber, terracotta, rose or crimson. By default the CLI picks an unused color.
kaneo label edit
kaneo label delete
Time
Durations look like1h30m, 45m, 2h, 1.5h or 1:30, and must be at least one minute. -m, --note adds a short note about the work.
kaneo time start
kaneo time stop
kaneo time status
Shows your running timer.
kaneo time log
--date takes today, yesterday or YYYY-MM-DD.
kaneo time list
kaneo time edit
-d, --duration keeps the start time. Get the ID from kaneo time list.
Projects
kaneo project list
--archived includes archived projects.
kaneo project view
kaneo project create
kaneo project edit
kaneo project archive
kaneo project unarchive
kaneo project move
--to takes a workspace ID or slug.
kaneo project delete
Columns
kaneo column list
kaneo column create
--final marks it as a done column, which stops overdue reminders for its tasks.
kaneo column edit
--name keeps the slug and the tasks. --final and --no-final mark or unmark it as done. --color and --icon accept none to clear them.
kaneo column move
kaneo column delete
--move-tasks-to is required and moves them first.
Custom fields
kaneo field list
kaneo field create
-t, --type is text, number, date, dropdown (or select), multiselect or boolean. -o, --option adds a choice for dropdown and multiselect fields. Repeatable.
kaneo field delete
Workflow rules
Workflow rules move tasks to a column when GitHub, GitLab or Gitea events arrive. The integrations aregithub, gitlab and gitea. The events are branch_push, pr_opened, pr_merged, issue_opened, issue_closed and issue_reopened.
kaneo workflow list
kaneo workflow set
kaneo workflow delete
Workspaces
kaneo workspace list
Lists the workspaces you belong to.
kaneo workspace use
kaneo workspace create
--slug.
kaneo workspace edit
kaneo workspace leave
kaneo workspace delete
Members and invitations
Roles areowner, admin, member, viewer, or a custom role of the workspace.
kaneo member list
Lists the members of a workspace with their roles.
kaneo member invite
-r, --role sets their role.
kaneo member role
kaneo member remove
kaneo invitation list
Lists pending invitations sent from the workspace.
kaneo invitation pending
Lists invitations for you to join other workspaces.
kaneo invitation accept
kaneo invitation decline
kaneo invitation cancel
Notifications
kaneo inbox is a shorter name for kaneo notification.
kaneo notification list
-u, --unread shows only unread ones. -L, --limit defaults to 20. The server keeps the latest 50.
kaneo notification read
kaneo notification list, or -a, --all for every notification.
Search and API
kaneo search
KAN-12. -t, --type is all, tasks, projects, workspaces, comments or activities. -L, --limit is 1 to 50, default 20. -p searches one project.
kaneo api
GET, POST, PUT, PATCH or DELETE. The path is under /api, and the /api prefix is optional.
GET requests cannot have a body. See Scripts and agents for examples.