@stephendolan/omnifocus-cli 1.2.4 → 2.0.0

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 (54) hide show
  1. package/README.md +14 -11
  2. package/dist/index.js +1303 -21
  3. package/dist/index.js.map +1 -1
  4. package/package.json +16 -14
  5. package/dist/commands/inbox.d.ts +0 -3
  6. package/dist/commands/inbox.d.ts.map +0 -1
  7. package/dist/commands/inbox.js +0 -22
  8. package/dist/commands/inbox.js.map +0 -1
  9. package/dist/commands/perspective.d.ts +0 -3
  10. package/dist/commands/perspective.d.ts.map +0 -1
  11. package/dist/commands/perspective.js +0 -22
  12. package/dist/commands/perspective.js.map +0 -1
  13. package/dist/commands/project.d.ts +0 -3
  14. package/dist/commands/project.d.ts.map +0 -1
  15. package/dist/commands/project.js +0 -87
  16. package/dist/commands/project.js.map +0 -1
  17. package/dist/commands/search.d.ts +0 -3
  18. package/dist/commands/search.d.ts.map +0 -1
  19. package/dist/commands/search.js +0 -13
  20. package/dist/commands/search.js.map +0 -1
  21. package/dist/commands/tag.d.ts +0 -3
  22. package/dist/commands/tag.d.ts.map +0 -1
  23. package/dist/commands/tag.js +0 -68
  24. package/dist/commands/tag.js.map +0 -1
  25. package/dist/commands/task.d.ts +0 -3
  26. package/dist/commands/task.d.ts.map +0 -1
  27. package/dist/commands/task.js +0 -101
  28. package/dist/commands/task.js.map +0 -1
  29. package/dist/index.d.ts +0 -3
  30. package/dist/index.d.ts.map +0 -1
  31. package/dist/lib/__tests__/display.test.d.ts +0 -2
  32. package/dist/lib/__tests__/display.test.d.ts.map +0 -1
  33. package/dist/lib/__tests__/display.test.js +0 -93
  34. package/dist/lib/__tests__/display.test.js.map +0 -1
  35. package/dist/lib/command-utils.d.ts +0 -4
  36. package/dist/lib/command-utils.d.ts.map +0 -1
  37. package/dist/lib/command-utils.js +0 -22
  38. package/dist/lib/command-utils.js.map +0 -1
  39. package/dist/lib/display.d.ts +0 -21
  40. package/dist/lib/display.d.ts.map +0 -1
  41. package/dist/lib/display.js +0 -294
  42. package/dist/lib/display.js.map +0 -1
  43. package/dist/lib/omnifocus.d.ts +0 -38
  44. package/dist/lib/omnifocus.d.ts.map +0 -1
  45. package/dist/lib/omnifocus.js +0 -860
  46. package/dist/lib/omnifocus.js.map +0 -1
  47. package/dist/lib/output.d.ts +0 -6
  48. package/dist/lib/output.d.ts.map +0 -1
  49. package/dist/lib/output.js +0 -12
  50. package/dist/lib/output.js.map +0 -1
  51. package/dist/types.d.ts +0 -164
  52. package/dist/types.d.ts.map +0 -1
  53. package/dist/types.js +0 -2
  54. package/dist/types.js.map +0 -1
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![npm version](https://img.shields.io/npm/v/@stephendolan/omnifocus-cli.svg)](https://www.npmjs.com/package/@stephendolan/omnifocus-cli)
4
4
  [![npm downloads](https://img.shields.io/npm/dm/@stephendolan/omnifocus-cli.svg)](https://www.npmjs.com/package/@stephendolan/omnifocus-cli)
5
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
- [![Node.js Version](https://img.shields.io/node/v/@stephendolan/omnifocus-cli.svg)](https://nodejs.org)
6
+ [![Bun](https://img.shields.io/badge/Bun-%3E%3D1.0-black)](https://bun.sh)
7
7
  [![Platform](https://img.shields.io/badge/platform-macOS-lightgrey.svg)](https://www.apple.com/macos/)
8
8
 
9
9
  A powerful command-line interface for OmniFocus on macOS, inspired by the GitHub CLI (`gh`).
@@ -20,12 +20,15 @@ A powerful command-line interface for OmniFocus on macOS, inspired by the GitHub
20
20
 
21
21
  ## Installation
22
22
 
23
+ Requires [Bun](https://bun.sh) runtime.
24
+
23
25
  ```bash
24
- # Install globally
25
- npm install -g @stephendolan/omnifocus-cli
26
+ # Install globally with bun (recommended)
27
+ bun install -g @stephendolan/omnifocus-cli
26
28
 
27
29
  # Or run directly without installing
28
- npx @stephendolan/omnifocus-cli task list
30
+ bunx @stephendolan/omnifocus-cli task list
31
+ npx @stephendolan/omnifocus-cli task list # also works
29
32
  ```
30
33
 
31
34
  ### From Source
@@ -33,8 +36,8 @@ npx @stephendolan/omnifocus-cli task list
33
36
  ```bash
34
37
  git clone https://github.com/stephendolan/omnifocus-cli.git
35
38
  cd omnifocus-cli
36
- npm install
37
- npm run link # Build and link globally
39
+ bun install
40
+ bun run link # Build and link globally
38
41
  ```
39
42
 
40
43
  Now you can use the `of` command anywhere in your terminal.
@@ -450,7 +453,7 @@ of tag delete "Obsolete Tag"
450
453
 
451
454
  - macOS (OmniFocus is Mac-only)
452
455
  - OmniFocus installed and running
453
- - Node.js 18+
456
+ - [Bun](https://bun.sh) 1.0+
454
457
 
455
458
  ## How It Works
456
459
 
@@ -460,16 +463,16 @@ The CLI uses JavaScript for Automation (JXA) to communicate directly with OmniFo
460
463
 
461
464
  ```bash
462
465
  # Install dependencies
463
- npm install
466
+ bun install
464
467
 
465
468
  # Build TypeScript
466
- npm run build
469
+ bun run build
467
470
 
468
471
  # Watch mode for development
469
- npm run dev
472
+ bun run dev
470
473
 
471
474
  # Link for local testing
472
- npm link
475
+ bun link
473
476
  ```
474
477
 
475
478
  ## Troubleshooting