@hasna/todos 0.10.16 → 0.10.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli/index.js +13 -0
  2. package/package.json +1 -1
package/dist/cli/index.js CHANGED
@@ -16894,6 +16894,19 @@ program2.command("delete <id>").description("Delete a task").action((id) => {
16894
16894
  process.exit(1);
16895
16895
  }
16896
16896
  });
16897
+ program2.command("remove <id>").description("Remove/delete a task (alias for delete)").action((id) => {
16898
+ const globalOpts = program2.opts();
16899
+ const resolvedId = resolveTaskId(id);
16900
+ const deleted = deleteTask(resolvedId);
16901
+ if (globalOpts.json) {
16902
+ output({ deleted }, true);
16903
+ } else if (deleted) {
16904
+ console.log(chalk.green("Task removed."));
16905
+ } else {
16906
+ console.error(chalk.red("Task not found."));
16907
+ process.exit(1);
16908
+ }
16909
+ });
16897
16910
  program2.command("bulk <action> <ids...>").description("Bulk operation on multiple tasks (done, start, delete)").action((action, ids) => {
16898
16911
  const globalOpts = program2.opts();
16899
16912
  const results = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/todos",
3
- "version": "0.10.16",
3
+ "version": "0.10.17",
4
4
  "description": "Universal task management for AI coding agents - CLI + MCP server + interactive TUI",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",