@stephendolan/omnifocus-cli 2.3.0 → 2.4.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 (3) hide show
  1. package/README.md +39 -2
  2. package/dist/cli.js +1 -1
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -17,7 +17,7 @@ Requires [Bun](https://bun.sh) and macOS with OmniFocus installed.
17
17
 
18
18
  ```bash
19
19
  of inbox count # Check inbox
20
- of task list --flagged # Today's tasks
20
+ of task list --flagged # Flagged tasks
21
21
  of task create "Buy groceries" # Quick capture
22
22
  of task update "Buy groceries" --complete # Mark done
23
23
  ```
@@ -90,14 +90,51 @@ of tag update <name> --inactive # Deactivate
90
90
  of tag delete <name> # Delete tag
91
91
  ```
92
92
 
93
- ### Other
93
+ ### Inbox
94
94
 
95
95
  ```bash
96
96
  of inbox list # List inbox items
97
97
  of inbox count # Inbox count
98
+ of inbox add "Task name" # Add task to inbox
99
+ ```
100
+
101
+ ### Perspectives
102
+
103
+ ```bash
104
+ of perspective list # List all perspectives
105
+ of perspective view "Forecast" # View tasks in perspective
106
+ ```
107
+
108
+ ### Folders
109
+
110
+ ```bash
111
+ of folder list # List all folders
112
+ of folder list --dropped # Include dropped
113
+ of folder view "Work" # View folder details
114
+ ```
115
+
116
+ ### Statistics
117
+
118
+ ```bash
119
+ of task stats # Task statistics
120
+ of project stats # Project statistics
121
+ of tag stats # Tag statistics
122
+ ```
123
+
124
+ ### Other
125
+
126
+ ```bash
98
127
  of search "query" # Search tasks
99
128
  ```
100
129
 
130
+ ### MCP Server
131
+
132
+ Run as an MCP server for AI agent integration:
133
+
134
+ ```bash
135
+ of mcp
136
+ ```
137
+
101
138
  ## JSON Output
102
139
 
103
140
  All commands output JSON. Use `--compact` for single-line output.
package/dist/cli.js CHANGED
@@ -1553,7 +1553,7 @@ function createMcpCommand() {
1553
1553
 
1554
1554
  // src/cli.ts
1555
1555
  var program = new Command9();
1556
- program.name("of").description("A command-line interface for OmniFocus on macOS").version("2.3.0").option("-c, --compact", "Minified JSON output (single line)").hook("preAction", (thisCommand) => {
1556
+ program.name("of").description("A command-line interface for OmniFocus on macOS").version("2.4.0").option("-c, --compact", "Minified JSON output (single line)").hook("preAction", (thisCommand) => {
1557
1557
  const options = thisCommand.opts();
1558
1558
  setOutputOptions({
1559
1559
  compact: options.compact
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stephendolan/omnifocus-cli",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "description": "A command-line interface for OmniFocus on macOS",
5
5
  "main": "dist/cli.js",
6
6
  "type": "module",
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "devDependencies": {
57
57
  "@biomejs/biome": "^1.9.4",
58
- "@types/node": "^22.10.2",
58
+ "@types/bun": "latest",
59
59
  "oxlint": "^0.16.0",
60
60
  "tsup": "^8.0.0",
61
61
  "typescript": "^5.7.2",