A file-based task manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Rename tsk export to tsk assign

Better matches the existing `assigned` property semantics — exporting
a task to another namespace is functionally an assignment, and the
two commands now use the same vocabulary.

`tsk bundle` is unaffected (zip export was renamed earlier; this only
touches the cross-namespace command).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

+6 -6
+6 -6
src/main.rs
··· 227 227 remote: String, 228 228 }, 229 229 230 - /// Send a task to another namespace's inbox. Defaults to the top-of-stack 231 - /// task; use -T to pick a different one. Sets `assigned=[[<ns>/tsk-N]]` 232 - /// on the source. 233 - Export { 230 + /// Assign a task to another namespace by sending it to that namespace's 231 + /// inbox. Defaults to the top-of-stack task; use -T to pick a different 232 + /// one. Sets `assigned=[[<ns>/tsk-N]]` on the source. 233 + Assign { 234 234 /// Target namespace. 235 235 target: String, 236 236 #[command(flatten)] ··· 482 482 Commands::GitSetup { gitignore, remote } => command_git_setup(dir, gitignore, remote), 483 483 Commands::GitPush { remote } => command_git_push(dir, remote), 484 484 Commands::GitPull { remote } => command_git_pull(dir, remote), 485 - Commands::Export { target, task_id } => command_export_to_ns(dir, target, task_id), 485 + Commands::Assign { target, task_id } => command_assign(dir, target, task_id), 486 486 Commands::Inbox => command_inbox(dir), 487 487 Commands::Accept { key } => command_accept(dir, key), 488 488 Commands::Bundle { output } => command_bundle(dir, output), ··· 882 882 Ok(()) 883 883 } 884 884 885 - fn command_export_to_ns(dir: PathBuf, target: String, task_id: TaskId) -> Result<()> { 885 + fn command_assign(dir: PathBuf, target: String, task_id: TaskId) -> Result<()> { 886 886 let ws = Workspace::from_path(dir)?; 887 887 let id = ws.task(task_id.into())?.id; 888 888 let key = ws.export_to_namespace(&target, id)?;