11# nylio-cli
22
3- CLI for the Nylio public API.
3+ Open-source CLI for the Nylio public API.
4+
5+ Related docs:
6+
7+ - npm package: [ nylio-cli] ( https://www.npmjs.com/package/nylio-cli )
8+ - monorepo integration note: [ ` function/docs/nylio-cli.md ` ] ( https://github.com/prodev1000/function/blob/main/docs/nylio-cli.md )
49
510## Install
611
@@ -41,13 +46,14 @@ nylio documents replace --help
4146## Build
4247
4348``` bash
44- bun run --cwd packages/nylio-cli check:publish-safety
45- bun run --cwd packages/nylio-cli typecheck
46- bun run --cwd packages/nylio-cli build
47- bun run --cwd packages/nylio-cli pack:dry-run
49+ npm run check:publish-safety
50+ npm run lint
51+ npm run typecheck
52+ npm run build
53+ npm pack --dry-run
4854```
4955
50- The publish safety check fails if the CLI imports server-only code, workspace-internal aliases, or files outside ` packages/nylio-cli/ src` .
56+ The publish safety check fails if the CLI imports server-only code, workspace-internal aliases, or files outside ` src ` .
5157
5258## Publish
5359
@@ -70,16 +76,16 @@ GitHub Releases are the distribution point for the self-contained macOS binaries
7076Manual local publish is also wired:
7177
7278``` bash
73- bun run --cwd packages/nylio-cli publish:npm
79+ npm run publish:npm
7480```
7581
7682To build the macOS release artifacts locally:
7783
7884``` bash
79- bun run --cwd packages/nylio-cli release:artifacts -- --repo prodev1000/function --tag nylio-cli- v0.1.0
85+ npm run release:artifacts -- --repo prodev1000/nylio-cli --tag v0.1.0
8086```
8187
82- That writes the archives, checksums, and a generated Homebrew formula to ` packages/nylio-cli/ dist/release` .
88+ That writes the archives, checksums, and a generated Homebrew formula to ` dist/release ` .
8389
8490## Homebrew
8591
@@ -119,3 +125,7 @@ brew install nylio
119125The CLI uses OAuth 2.1 Authorization Code + PKCE against the Nylio Better Auth issuer and stores user tokens locally at ` ~/.config/nylio/auth.json ` .
120126
121127Use ` nylio login --print-url ` if you do not want the CLI to open a browser automatically.
128+
129+ ## License
130+
131+ MIT
0 commit comments