inflight-cli 2.0.2 → 2.0.4

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 CHANGED
@@ -12,14 +12,14 @@ That's it. The CLI will install itself, log you in, add the widget to your proje
12
12
 
13
13
  ## Commands
14
14
 
15
- | Command | Description |
16
- | -------------------- | ------------------------------------ |
17
- | `inflight setup` | Set up Inflight in your project |
18
- | `inflight share` | Share a staging URL for feedback |
19
- | `inflight vercel` | Change your Vercel project |
20
- | `inflight workspaces`| Change your Inflight workspace |
21
- | `inflight login` | Log in to your Inflight account |
22
- | `inflight logout` | Log out of your Inflight account |
15
+ | Command | Description |
16
+ | --------------------- | -------------------------------- |
17
+ | `inflight setup` | Set up Inflight in your project |
18
+ | `inflight share` | Share a staging URL for feedback |
19
+ | `inflight vercel` | Change your Vercel project |
20
+ | `inflight workspaces` | Change your Inflight workspace |
21
+ | `inflight login` | Log in to your Inflight account |
22
+ | `inflight logout` | Log out of your Inflight account |
23
23
 
24
24
  ## Requirements
25
25
 
@@ -141,6 +141,7 @@ export function registerVercelCommand(program) {
141
141
  const vercel = program
142
142
  .command("vercel")
143
143
  .description("Set up or change your Vercel project")
144
+ .passThroughOptions()
144
145
  .option("--team <id>", "Vercel team ID (non-interactive)")
145
146
  .option("--project <id>", "Vercel project ID (non-interactive)")
146
147
  .option("--json", "Output as JSON (non-interactive)")
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ import pkg from "../package.json" with { type: "json" };
12
12
  const { version } = pkg;
13
13
  updateNotifier({ pkg }).notify();
14
14
  const program = new Command();
15
- program.name("inflight").description("Get feedback directly on your staging URL").version(version);
15
+ program.name("inflight").description("Get feedback directly on your staging URL").version(version).enablePositionalOptions();
16
16
  program.command("setup").description("Set up Inflight in your project").action(setupCommand);
17
17
  program.command("login").description("Authenticate with your Inflight account").action(loginCommand);
18
18
  program
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inflight-cli",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "Get feedback directly on your staging URL",
5
5
  "bin": {
6
6
  "inflight": "dist/index.js"