|
1 | 1 | # Examples |
2 | 2 |
|
3 | | -Use real IDs resolved by SQL in place of placeholders. Shell examples contain trusted static text; serialize retrieved data and pass it on stdin instead of interpolating it. |
| 3 | +Replace `/absolute/path/to/installed/taskcontext` with the directory containing the installed `SKILL.md`, as described in [client setup](../SKILL.md). These commands work from any working directory. Use real IDs resolved by SQL in place of placeholders. Shell examples contain trusted static text; serialize retrieved data and pass it on stdin instead of interpolating it. |
4 | 4 |
|
5 | 5 | ```sh |
6 | | -python3 scripts/tc.py query 'SELECT id, key, name FROM projects WHERE archived = 0 ORDER BY key LIMIT 100' |
7 | | -python3 scripts/tc.py query 'SELECT id, name FROM user_directory ORDER BY name, id LIMIT 100' |
8 | | -python3 scripts/tc.py query 'SELECT id, key, title, status, revision FROM issues ORDER BY updated DESC, id LIMIT 50' |
9 | | -python3 scripts/tc.py create projects '{"key":"APP","name":"Application"}' |
10 | | -python3 scripts/tc.py create issues '{"project":"<project-id>","title":"Fix keyboard focus","type":"bug","priority":"high"}' |
11 | | -python3 scripts/tc.py update issues '<issue-id>' '{"status":"in_progress","expected_revision":1}' |
12 | | -python3 scripts/tc.py update issues '<issue-id>' '{"status":"done","resolution":"completed","expected_revision":2}' |
13 | | -python3 scripts/tc.py update issues '<issue-id>' '{"status":"ready","resolution":"","expected_revision":3}' |
| 6 | +python3 "/absolute/path/to/installed/taskcontext/scripts/tc.py" query 'SELECT id, key, name FROM projects WHERE archived = 0 ORDER BY key LIMIT 100' |
| 7 | +python3 "/absolute/path/to/installed/taskcontext/scripts/tc.py" query 'SELECT id, name FROM user_directory ORDER BY name, id LIMIT 100' |
| 8 | +python3 "/absolute/path/to/installed/taskcontext/scripts/tc.py" query 'SELECT id, key, title, status, revision FROM issues ORDER BY updated DESC, id LIMIT 50' |
| 9 | +python3 "/absolute/path/to/installed/taskcontext/scripts/tc.py" create projects '{"key":"APP","name":"Application"}' |
| 10 | +python3 "/absolute/path/to/installed/taskcontext/scripts/tc.py" create issues '{"project":"<project-id>","title":"Fix keyboard focus","type":"bug","priority":"high"}' |
| 11 | +python3 "/absolute/path/to/installed/taskcontext/scripts/tc.py" update issues '<issue-id>' '{"status":"in_progress","expected_revision":1}' |
| 12 | +python3 "/absolute/path/to/installed/taskcontext/scripts/tc.py" update issues '<issue-id>' '{"status":"done","resolution":"completed","expected_revision":2}' |
| 13 | +python3 "/absolute/path/to/installed/taskcontext/scripts/tc.py" update issues '<issue-id>' '{"status":"ready","resolution":"","expected_revision":3}' |
14 | 14 | ``` |
15 | 15 |
|
16 | 16 | Ready issues without unfinished blockers: |
|
0 commit comments