@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.
- package/README.md +14 -11
- package/dist/index.js +1303 -21
- package/dist/index.js.map +1 -1
- package/package.json +16 -14
- package/dist/commands/inbox.d.ts +0 -3
- package/dist/commands/inbox.d.ts.map +0 -1
- package/dist/commands/inbox.js +0 -22
- package/dist/commands/inbox.js.map +0 -1
- package/dist/commands/perspective.d.ts +0 -3
- package/dist/commands/perspective.d.ts.map +0 -1
- package/dist/commands/perspective.js +0 -22
- package/dist/commands/perspective.js.map +0 -1
- package/dist/commands/project.d.ts +0 -3
- package/dist/commands/project.d.ts.map +0 -1
- package/dist/commands/project.js +0 -87
- package/dist/commands/project.js.map +0 -1
- package/dist/commands/search.d.ts +0 -3
- package/dist/commands/search.d.ts.map +0 -1
- package/dist/commands/search.js +0 -13
- package/dist/commands/search.js.map +0 -1
- package/dist/commands/tag.d.ts +0 -3
- package/dist/commands/tag.d.ts.map +0 -1
- package/dist/commands/tag.js +0 -68
- package/dist/commands/tag.js.map +0 -1
- package/dist/commands/task.d.ts +0 -3
- package/dist/commands/task.d.ts.map +0 -1
- package/dist/commands/task.js +0 -101
- package/dist/commands/task.js.map +0 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.d.ts.map +0 -1
- package/dist/lib/__tests__/display.test.d.ts +0 -2
- package/dist/lib/__tests__/display.test.d.ts.map +0 -1
- package/dist/lib/__tests__/display.test.js +0 -93
- package/dist/lib/__tests__/display.test.js.map +0 -1
- package/dist/lib/command-utils.d.ts +0 -4
- package/dist/lib/command-utils.d.ts.map +0 -1
- package/dist/lib/command-utils.js +0 -22
- package/dist/lib/command-utils.js.map +0 -1
- package/dist/lib/display.d.ts +0 -21
- package/dist/lib/display.d.ts.map +0 -1
- package/dist/lib/display.js +0 -294
- package/dist/lib/display.js.map +0 -1
- package/dist/lib/omnifocus.d.ts +0 -38
- package/dist/lib/omnifocus.d.ts.map +0 -1
- package/dist/lib/omnifocus.js +0 -860
- package/dist/lib/omnifocus.js.map +0 -1
- package/dist/lib/output.d.ts +0 -6
- package/dist/lib/output.d.ts.map +0 -1
- package/dist/lib/output.js +0 -12
- package/dist/lib/output.js.map +0 -1
- package/dist/types.d.ts +0 -164
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -2
- package/dist/types.js.map +0 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@stephendolan/omnifocus-cli)
|
|
4
4
|
[](https://www.npmjs.com/package/@stephendolan/omnifocus-cli)
|
|
5
5
|
[](https://opensource.org/licenses/MIT)
|
|
6
|
-
[](https://bun.sh)
|
|
7
7
|
[](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
|
-
|
|
26
|
+
# Install globally with bun (recommended)
|
|
27
|
+
bun install -g @stephendolan/omnifocus-cli
|
|
26
28
|
|
|
27
29
|
# Or run directly without installing
|
|
28
|
-
|
|
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
|
-
|
|
37
|
-
|
|
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
|
-
-
|
|
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
|
-
|
|
466
|
+
bun install
|
|
464
467
|
|
|
465
468
|
# Build TypeScript
|
|
466
|
-
|
|
469
|
+
bun run build
|
|
467
470
|
|
|
468
471
|
# Watch mode for development
|
|
469
|
-
|
|
472
|
+
bun run dev
|
|
470
473
|
|
|
471
474
|
# Link for local testing
|
|
472
|
-
|
|
475
|
+
bun link
|
|
473
476
|
```
|
|
474
477
|
|
|
475
478
|
## Troubleshooting
|