@xano/cli 1.0.4-beta.10 → 1.0.4-beta.11

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/README.md CHANGED
@@ -35,7 +35,7 @@ npm install -g @xano/cli
35
35
  Destructive commands include imperative safety prefixes in their help text and flag descriptions so automated agents (e.g. Claude Code, Cursor) pause before running them in auto-accept mode:
36
36
 
37
37
  - **`[CRITICAL]`** — Agents must STOP and confirm with the user before running. Used for irreversible or high-blast-radius operations, including (but not limited to) `--force` deletions, `workspace edit --allow-push`, `workspace push --records`, `workspace/sandbox push --truncate`, `--no-transaction`, `--sync --delete`, backup restore/delete, cluster delete, `env set_all`, `sandbox reset`, `sandbox delete`, `profile delete`, and tenant deploys.
38
- - **`[IMPORTANT]`** — Agents should confirm with the user (and prefer `--dry-run` previews where applicable). Used for base `workspace push` and `sandbox push`, `branch set_live`, `release import`, `release push`, `release deploy`, and single-variable env / workflow-test deletes.
38
+ - **`[IMPORTANT]`** — Agents should confirm with the user (and prefer `--dry-run` previews where applicable). Used for base `workspace push` and `sandbox push`, `branch set_live`, `release import`, `release push`, `release deploy`, `function edit`, `function run`, and single-variable env / workflow-test deletes.
39
39
 
40
40
  These warnings are layer 1 of broader push-safety work; ephemeral sandbox environments and push preview remain the structural safeguards.
41
41
 
@@ -12,7 +12,7 @@ export default class FunctionEdit extends BaseCommand {
12
12
  required: false,
13
13
  }),
14
14
  };
15
- static description = 'Edit a function in a workspace';
15
+ static description = '[IMPORTANT] ALWAYS confirm with the user before editing a function; this overwrites and publishes the function on the workspace. Edit a function in a workspace.';
16
16
  static examples = [
17
17
  `$ xano function:edit 163
18
18
  # Fetches the function code and opens it in $EDITOR for editing
@@ -9,7 +9,7 @@ export default class FunctionRun extends BaseCommand {
9
9
  required: false,
10
10
  }),
11
11
  };
12
- static description = 'Run (execute) a named function in a workspace and print its result';
12
+ static description = '[IMPORTANT] ALWAYS confirm with the user before running a function; it executes against the live workspace/branch and may mutate data or call external services. Run (execute) a named function in a workspace and print its result.';
13
13
  static examples = [
14
14
  `$ xano function:run calcScore -w 40
15
15
  # Prompts for any declared inputs, then runs the function`,