@catafal/notion-cli 5.9.2 → 5.9.3

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/oclif.manifest.json +94 -94
  2. package/package.json +1 -1
@@ -3189,6 +3189,99 @@
3189
3189
  "setup.js"
3190
3190
  ]
3191
3191
  },
3192
+ "config:set-token": {
3193
+ "aliases": [
3194
+ "config:token"
3195
+ ],
3196
+ "args": {
3197
+ "token": {
3198
+ "description": "Notion integration token (starts with secret_ or ntn_)",
3199
+ "name": "token",
3200
+ "required": false
3201
+ }
3202
+ },
3203
+ "description": "Set NOTION_TOKEN in your shell configuration file",
3204
+ "examples": [
3205
+ {
3206
+ "description": "Set Notion token interactively",
3207
+ "command": "notion-cli config set-token"
3208
+ },
3209
+ {
3210
+ "description": "Set Notion token directly",
3211
+ "command": "notion-cli config set-token ntn_abc123..."
3212
+ },
3213
+ {
3214
+ "description": "Set token with JSON output",
3215
+ "command": "notion-cli config set-token ntn_abc123... --json"
3216
+ }
3217
+ ],
3218
+ "flags": {
3219
+ "json": {
3220
+ "char": "j",
3221
+ "description": "Output as JSON (recommended for automation)",
3222
+ "name": "json",
3223
+ "allowNo": false,
3224
+ "type": "boolean"
3225
+ },
3226
+ "page-size": {
3227
+ "description": "Items per page (1-100, default: 100 for automation)",
3228
+ "name": "page-size",
3229
+ "default": 100,
3230
+ "hasDynamicHelp": false,
3231
+ "multiple": false,
3232
+ "type": "option"
3233
+ },
3234
+ "retry": {
3235
+ "description": "Auto-retry on rate limit (respects Retry-After header)",
3236
+ "name": "retry",
3237
+ "allowNo": false,
3238
+ "type": "boolean"
3239
+ },
3240
+ "timeout": {
3241
+ "description": "Request timeout in milliseconds",
3242
+ "name": "timeout",
3243
+ "default": 30000,
3244
+ "hasDynamicHelp": false,
3245
+ "multiple": false,
3246
+ "type": "option"
3247
+ },
3248
+ "no-cache": {
3249
+ "description": "Bypass cache and force fresh API calls",
3250
+ "name": "no-cache",
3251
+ "allowNo": false,
3252
+ "type": "boolean"
3253
+ },
3254
+ "verbose": {
3255
+ "char": "v",
3256
+ "description": "Enable verbose logging to stderr (retry events, cache stats) - never pollutes stdout",
3257
+ "env": "NOTION_CLI_VERBOSE",
3258
+ "name": "verbose",
3259
+ "allowNo": false,
3260
+ "type": "boolean"
3261
+ },
3262
+ "minimal": {
3263
+ "description": "Strip unnecessary metadata (created_by, last_edited_by, object fields, request_id, etc.) - reduces response size by ~40%",
3264
+ "name": "minimal",
3265
+ "allowNo": false,
3266
+ "type": "boolean"
3267
+ }
3268
+ },
3269
+ "hasDynamicHelp": false,
3270
+ "hiddenAliases": [],
3271
+ "id": "config:set-token",
3272
+ "pluginAlias": "@catafal/notion-cli",
3273
+ "pluginName": "@catafal/notion-cli",
3274
+ "pluginType": "core",
3275
+ "strict": true,
3276
+ "enableJsonFlag": false,
3277
+ "isESM": false,
3278
+ "relativePath": [
3279
+ "dist",
3280
+ "commands",
3281
+ "config",
3282
+ "set-token.js"
3283
+ ]
3284
+ },
3192
3285
  "db:create": {
3193
3286
  "aliases": [
3194
3287
  "db:c"
@@ -5125,99 +5218,6 @@
5125
5218
  "update.js"
5126
5219
  ]
5127
5220
  },
5128
- "config:set-token": {
5129
- "aliases": [
5130
- "config:token"
5131
- ],
5132
- "args": {
5133
- "token": {
5134
- "description": "Notion integration token (starts with secret_ or ntn_)",
5135
- "name": "token",
5136
- "required": false
5137
- }
5138
- },
5139
- "description": "Set NOTION_TOKEN in your shell configuration file",
5140
- "examples": [
5141
- {
5142
- "description": "Set Notion token interactively",
5143
- "command": "notion-cli config set-token"
5144
- },
5145
- {
5146
- "description": "Set Notion token directly",
5147
- "command": "notion-cli config set-token ntn_abc123..."
5148
- },
5149
- {
5150
- "description": "Set token with JSON output",
5151
- "command": "notion-cli config set-token ntn_abc123... --json"
5152
- }
5153
- ],
5154
- "flags": {
5155
- "json": {
5156
- "char": "j",
5157
- "description": "Output as JSON (recommended for automation)",
5158
- "name": "json",
5159
- "allowNo": false,
5160
- "type": "boolean"
5161
- },
5162
- "page-size": {
5163
- "description": "Items per page (1-100, default: 100 for automation)",
5164
- "name": "page-size",
5165
- "default": 100,
5166
- "hasDynamicHelp": false,
5167
- "multiple": false,
5168
- "type": "option"
5169
- },
5170
- "retry": {
5171
- "description": "Auto-retry on rate limit (respects Retry-After header)",
5172
- "name": "retry",
5173
- "allowNo": false,
5174
- "type": "boolean"
5175
- },
5176
- "timeout": {
5177
- "description": "Request timeout in milliseconds",
5178
- "name": "timeout",
5179
- "default": 30000,
5180
- "hasDynamicHelp": false,
5181
- "multiple": false,
5182
- "type": "option"
5183
- },
5184
- "no-cache": {
5185
- "description": "Bypass cache and force fresh API calls",
5186
- "name": "no-cache",
5187
- "allowNo": false,
5188
- "type": "boolean"
5189
- },
5190
- "verbose": {
5191
- "char": "v",
5192
- "description": "Enable verbose logging to stderr (retry events, cache stats) - never pollutes stdout",
5193
- "env": "NOTION_CLI_VERBOSE",
5194
- "name": "verbose",
5195
- "allowNo": false,
5196
- "type": "boolean"
5197
- },
5198
- "minimal": {
5199
- "description": "Strip unnecessary metadata (created_by, last_edited_by, object fields, request_id, etc.) - reduces response size by ~40%",
5200
- "name": "minimal",
5201
- "allowNo": false,
5202
- "type": "boolean"
5203
- }
5204
- },
5205
- "hasDynamicHelp": false,
5206
- "hiddenAliases": [],
5207
- "id": "config:set-token",
5208
- "pluginAlias": "@catafal/notion-cli",
5209
- "pluginName": "@catafal/notion-cli",
5210
- "pluginType": "core",
5211
- "strict": true,
5212
- "enableJsonFlag": false,
5213
- "isESM": false,
5214
- "relativePath": [
5215
- "dist",
5216
- "commands",
5217
- "config",
5218
- "set-token.js"
5219
- ]
5220
- },
5221
5221
  "template:get": {
5222
5222
  "aliases": [
5223
5223
  "tpl:get"
@@ -6467,5 +6467,5 @@
6467
6467
  ]
6468
6468
  }
6469
6469
  },
6470
- "version": "5.9.2"
6470
+ "version": "5.9.3"
6471
6471
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@catafal/notion-cli",
3
- "version": "5.9.2",
3
+ "version": "5.9.3",
4
4
  "description": "Unofficial Notion CLI optimized for automation and AI agents. Non-interactive interface for Notion API v5.2.1 with intelligent caching, retry logic, structured error handling, and comprehensive testing.",
5
5
  "author": "Jake Schepis <jake@coastalprograms.com>",
6
6
  "bin": {