airterm 1.2.0 → 1.2.1
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/dist/cli.js +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -548,7 +548,7 @@ function showHelp(exitCode = 0) {
|
|
|
548
548
|
-v, --version Show version
|
|
549
549
|
|
|
550
550
|
Examples:
|
|
551
|
-
airterm
|
|
551
|
+
airterm otp_abc123... Redeem an access code
|
|
552
552
|
airterm Open an interactive SSH session
|
|
553
553
|
airterm ls -la List files on your machine
|
|
554
554
|
airterm cat /tmp/log View a remote file
|
|
@@ -586,7 +586,7 @@ if (first === "--list" || first === "-l") {
|
|
|
586
586
|
render(/* @__PURE__ */ jsx8(App, { initialScreen: "add" }));
|
|
587
587
|
}
|
|
588
588
|
} else if (args.length > 0) {
|
|
589
|
-
if (first.startsWith("
|
|
589
|
+
if (first.startsWith("otp_")) {
|
|
590
590
|
render(/* @__PURE__ */ jsx8(App, { initialCode: first }));
|
|
591
591
|
} else {
|
|
592
592
|
const remoteCmd = first === "--" ? args.slice(1) : args;
|