Task Management
Learn how to create, manage, and track tasks with Knowns CLI
3 min read
Task Management
Tasks are the core of Knowns. They help you track work items with acceptance criteria, time tracking, and status management.
Creating Tasks
Create a task with the task create command:
knowns task create "Add user authentication" \
-d "Implement JWT-based auth system" \
--ac "User can register" \
--ac "User can login" \
--ac "User can logout" \
--priority high \
-l "auth,feature"Options
| Option | Short | Description |
|---|---|---|
--description | -d | Task description |
--ac | Acceptance criterion (repeatable) | |
--priority | -p | low, medium, high |
--labels | -l | Comma-separated labels |
--assignee | -a | Assign to user (@me or @username) |
Viewing Tasks
List all tasks
knowns task list --plainFilter by status
knowns task list --status in-progress --plainView single task
knowns task view 42 --plainUpdating Tasks
Change status
knowns task edit 42 -s in-progressAssign to yourself
knowns task edit 42 -a @meCheck acceptance criteria
knowns task edit 42 --check-ac 1 --check-ac 2Add implementation plan
knowns task edit 42 --plan $'1. Design API\n2. Implement endpoints\n3. Add tests'Add notes
knowns task edit 42 --notes "Completed implementation with 95% coverage"Task Workflow
A typical task workflow:
- Create the task with clear acceptance criteria
- Assign to yourself and set status to
in-progress - Start time tracking:
knowns time start 42 - Check acceptance criteria as you complete them
- Add implementation notes
- Stop timer:
knowns time stop - Complete the task:
knowns task edit 42 -s done
Status Values
| Status | Description |
|---|---|
todo | Not started (default) |
in-progress | Currently working on |
in-review | Submitted for review |
blocked | Waiting on dependency |
done | Completed |
Best Practices
Good Acceptance Criteria
Write outcome-oriented criteria, not implementation steps:
# Good
--ac "User can login and receive JWT token"
--ac "Invalid credentials show error message"
# Bad
--ac "Add handleLogin function"
--ac "Use bcrypt for hashing"Clear Titles
Use action-oriented titles that describe what needs to be done:
# Good
"Add password reset flow"
"Fix timeout on slow networks"
# Bad
"Auth stuff"
"Bug fix"