@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kntic/kntic",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "author": "Thomas Robak <contact@kntic.ai> (https://kntic.ai)",
5
5
  "description": "KNTIC CLI — bootstrap and manage KNTIC projects",
6
6
  "main": "src/index.js",
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("--interactive") || args.includes("-i") };
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);
@@ -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(" --quick Default mode — non-interactive, auto-detects git remote");
10
- console.log(" --interactive Walk through .kntic.env values interactively (-i)");
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");