@comment-io/cli 0.1.9-alpha.227 → 0.1.9-alpha.231

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.
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+ // comment-staging is the staging-environment alias for the comment CLI. It runs
3
+ // the exact same binary as `comment`, but forces COMMENT_IO_ENV=staging so all
4
+ // local state (~/.comment-io-staging), the daemon, the API endpoint
5
+ // (https://comt.dev by default), and synced files (~/Comment Docs (staging))
6
+ // use the isolated staging set instead of production. The Go CLI still honors an
7
+ // explicit --production flag if you need to override for a single invocation.
8
+ process.env.COMMENT_IO_ENV = 'staging';
9
+ await import('./comment.js');
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comment-io/cli",
3
- "version": "0.1.9-alpha.227",
3
+ "version": "0.1.9-alpha.231",
4
4
  "description": "Comment.io CLI and local notification daemon",
5
5
  "private": false,
6
6
  "type": "module",
@@ -24,7 +24,8 @@
24
24
  "x64"
25
25
  ],
26
26
  "bin": {
27
- "comment": "bin/comment.js"
27
+ "comment": "bin/comment.js",
28
+ "comment-staging": "bin/comment-staging.js"
28
29
  },
29
30
  "files": [
30
31
  "bin/",