inflight-cli 1.1.0 → 1.1.2

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/README.md +32 -21
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,36 +1,47 @@
1
1
  # inflight-cli
2
2
 
3
- The official CLI for [Inflight](https://inflight.co).
3
+ Get feedback directly on your staging URL with [Inflight](https://www.inflight.co).
4
4
 
5
- ## Development
6
-
7
- ### Run locally
5
+ ## Installation
8
6
 
9
7
  ```bash
10
- cd apps/cli
11
- bun run src/index.ts <command>
8
+ npm install -g inflight-cli
12
9
  ```
13
10
 
14
- ### Run against staging
11
+ ## Quick Start
15
12
 
16
13
  ```bash
17
- INFLIGHT_API_URL=https://staging-api.inflight.co INFLIGHT_WEB_URL=https://staging.inflight.co bun run src/index.ts <command>
14
+ # Log in to your Inflight account
15
+ inflight login
16
+
17
+ # Add Inflight to your staging URL
18
+ inflight share
18
19
  ```
19
20
 
20
- For the `preview` command, also set `INFLIGHT_SHARE_API_URL`.
21
+ That's it. The CLI will walk you through selecting a staging URL and open it with Inflight attached.
21
22
 
22
- ### Build
23
+ ## Commands
23
24
 
24
- ```bash
25
- bun run build
26
- ```
25
+ ### `inflight login`
26
+
27
+ Authenticate with your Inflight account. Opens a browser window to sign in.
28
+
29
+ ### `inflight logout`
30
+
31
+ Disconnect your Inflight account from this machine.
32
+
33
+ ### `inflight share`
34
+
35
+ Add Inflight to a staging URL. The CLI will:
36
+
37
+ 1. Let you pick from your hosting provider's deployments, or paste any URL
38
+ 2. Open the staging URL with Inflight attached
39
+
40
+ ### `inflight workspace`
41
+
42
+ Switch the active workspace for the current project directory.
27
43
 
28
- ### Commands
44
+ ## Requirements
29
45
 
30
- | Command | Description |
31
- | ----------- | ---------------------------------------- |
32
- | `login` | Authenticate with your Inflight account |
33
- | `logout` | Disconnect your Inflight account |
34
- | `share` | Get feedback on your staging URL |
35
- | `preview` | Preview a live component from your code |
36
- | `workspace` | Switch the workspace for this project |
46
+ - Node.js 18+
47
+ - A free [Inflight](https://www.inflight.co) account
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inflight-cli",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Get feedback directly on your staging URL",
5
5
  "bin": {
6
6
  "inflight": "dist/index.js"