@kntic/kntic 0.7.0 → 0.8.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/package.json +1 -1
- package/src/cli.js +1 -1
- package/src/commands/usage.js +2 -2
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -10,7 +10,7 @@ const subcommand = args[0];
|
|
|
10
10
|
if (!subcommand || subcommand === "usage") {
|
|
11
11
|
commands.usage();
|
|
12
12
|
} else if (subcommand === "init") {
|
|
13
|
-
const initOpts = { interactive: args.includes("--
|
|
13
|
+
const initOpts = { interactive: !(args.includes("--quick") || args.includes("-q")) };
|
|
14
14
|
commands.init(initOpts).catch((err) => {
|
|
15
15
|
console.error(`Error: ${err.message}`);
|
|
16
16
|
process.exit(1);
|
package/src/commands/usage.js
CHANGED
|
@@ -6,8 +6,8 @@ function usage() {
|
|
|
6
6
|
console.log("Available commands:\n");
|
|
7
7
|
console.log(" usage List all available sub-commands");
|
|
8
8
|
console.log(" init Download and extract the KNTIC bootstrap template into the current directory");
|
|
9
|
-
console.log(" --
|
|
10
|
-
console.log(" --interactive
|
|
9
|
+
console.log(" --interactive Default mode — walk through .kntic.env values interactively (-i)");
|
|
10
|
+
console.log(" --quick Non-interactive mode, auto-detects git remote only (-q)");
|
|
11
11
|
console.log(" start Build and start KNTIC services via docker compose (uses kntic.yml + .kntic.env)");
|
|
12
12
|
console.log(" --screen Run inside a GNU screen session");
|
|
13
13
|
console.log(" stop Stop KNTIC services via docker compose");
|