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.
- package/README.md +32 -21
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,36 +1,47 @@
|
|
|
1
1
|
# inflight-cli
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Get feedback directly on your staging URL with [Inflight](https://www.inflight.co).
|
|
4
4
|
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
### Run locally
|
|
5
|
+
## Installation
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
|
-
|
|
11
|
-
bun run src/index.ts <command>
|
|
8
|
+
npm install -g inflight-cli
|
|
12
9
|
```
|
|
13
10
|
|
|
14
|
-
|
|
11
|
+
## Quick Start
|
|
15
12
|
|
|
16
13
|
```bash
|
|
17
|
-
|
|
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
|
-
|
|
21
|
+
That's it. The CLI will walk you through selecting a staging URL and open it with Inflight attached.
|
|
21
22
|
|
|
22
|
-
|
|
23
|
+
## Commands
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
|
|
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
|
-
|
|
44
|
+
## Requirements
|
|
29
45
|
|
|
30
|
-
|
|
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
|