diff options
| author | Ben Sima <ben@bsima.me> | 2025-11-08 16:41:41 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2025-11-08 16:41:41 -0500 |
| commit | 36a31210ff5682f3387a28893563f0c5bf1a4cc5 (patch) | |
| tree | 92876688a01416d86cb28d355eee54c2f84fa8ff /Omni/Cloud/Mail.nix | |
| parent | 305cd3d5077c7e6e2a512b77ac95435081e3e825 (diff) | |
Use Omni.Namespace for validated namespace arguments
Updated namespace handling to use the Omni.Namespace module: - Import
Omni.Namespace in Task CLI - Parse and validate namespace strings
using fromHaskellModule - Convert to proper path format using toPath -
Ensures namespaces are well-formed (e.g., Omni/Task -> Omni/Task.hs)
Example:
task create "Fix bug" project --namespace="Omni/Task" # Creates
task with validated namespace Omni/Task.hs
This provides type safety and ensures all task namespaces correspond
to actual code namespaces in the monorepo.
Amp-Thread-ID:
https://ampcode.com/threads/T-85f4ee29-a529-4f59-ac6f-6ffec75b6a56
Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'Omni/Cloud/Mail.nix')
0 files changed, 0 insertions, 0 deletions
