diff options
| author | Ben Sima <ben@bensima.com> | 2025-11-24 21:53:27 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-11-24 21:53:27 -0500 |
| commit | cd4df25878ad0908d10a01298a24a7ba002252b1 (patch) | |
| tree | 38865185cf2bb4bc06f042a2b893e4836d369a50 /Omni/Log.py | |
| parent | 6b9b5f5129dff789753df7d0c82939d3c219b29b (diff) | |
feat: implement t-1o2egbj8o0n.3
I have implemented the `jr work` command in `Omni/Jr.hs`.
**Changes:** 1. **Modified `Omni/Jr.hs`**:
* Added necessary imports (`Omni.Agent.Core`, `Omni.Agent.Worker`,
`System.Directory`, `System.FilePath`, `Data.Text`). * Updated
the Docopt usage to include `jr work [<task-id>]`. * Implemented
the `work` command handler in the `move` function to initialize
a `Worker` and call `Worker.start`, mirroring the logic in
`Omni/Agent.hs`. * Added unit tests to verify parsing of the
`work` command with and without a task ID.
**Verification:** * Ran `bild --test Omni/Jr.hs` which passed,
confirming the code compiles and tests pass. * Ran `lint Omni/Jr.hs`
which passed. * Verified `_/bin/jr --help` shows the new command.
I am now ready to exit.
Diffstat (limited to 'Omni/Log.py')
0 files changed, 0 insertions, 0 deletions
