@astroanywhere/cli 0.1.1 → 0.2.0
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/index.js +5 -1
- package/dist/tui.js +2136 -0
- package/package.json +10 -4
package/dist/index.js
CHANGED
|
@@ -2076,7 +2076,7 @@ function registerCompletionCommands(program2) {
|
|
|
2076
2076
|
|
|
2077
2077
|
// src/index.ts
|
|
2078
2078
|
var program = new Command();
|
|
2079
|
-
program.name("astro-cli").description("CLI for managing Astro projects, plans, tasks, and environments").version("0.
|
|
2079
|
+
program.name("astro-cli").description("CLI for managing Astro projects, plans, tasks, and environments").version("0.2.0").option("--json", "Machine-readable JSON output").option("--quiet", "Suppress spinners and decorative output").option("--server-url <url>", "Override server URL");
|
|
2080
2080
|
registerProjectCommands(program);
|
|
2081
2081
|
registerPlanCommands(program);
|
|
2082
2082
|
registerTaskCommands(program);
|
|
@@ -2087,4 +2087,8 @@ registerEnvCommands(program);
|
|
|
2087
2087
|
registerConfigCommands(program);
|
|
2088
2088
|
registerAuthCommands(program);
|
|
2089
2089
|
registerCompletionCommands(program);
|
|
2090
|
+
program.command("tui").description("Launch interactive terminal UI").action(async () => {
|
|
2091
|
+
const { launchTui } = await import("./tui.js");
|
|
2092
|
+
await launchTui(program.opts().serverUrl);
|
|
2093
|
+
});
|
|
2090
2094
|
program.parse();
|