@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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. 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", "Set up authentication (opens browser)").addHelpText("after", `
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..."));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caik.dev/cli",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "type": "module",
5
5
  "description": "CAIK CLI — Search, install, and publish AI artifacts from your terminal",
6
6
  "keywords": [