@caik.dev/cli 0.1.5 → 0.1.6
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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1807,10 +1807,10 @@ async function authenticate(apiUrl, port = 0) {
|
|
|
1807
1807
|
|
|
1808
1808
|
// src/commands/init.ts
|
|
1809
1809
|
function registerInitCommand(program2) {
|
|
1810
|
-
program2.command("init").description("Configure the CAIK CLI").option("--auth", "
|
|
1810
|
+
program2.command("init").description("Configure the CAIK CLI").option("--no-auth", "Skip authentication, only configure API URL").addHelpText("after", `
|
|
1811
1811
|
Examples:
|
|
1812
|
-
caik init
|
|
1813
|
-
caik init --auth`).action(async (opts) => {
|
|
1812
|
+
caik init # opens browser for sign-in
|
|
1813
|
+
caik init --no-auth # configure API URL only`).action(async (opts) => {
|
|
1814
1814
|
const config = readConfig();
|
|
1815
1815
|
if (opts.auth) {
|
|
1816
1816
|
console.log(info("Opening browser for authentication..."));
|