action | yes | inferred | plan, run, or validate | "Should I plan, run, or validate the workflow?" |
method | run: yes | inferred | backup or migration | "Use backup restore or migration publish?" |
source_env | conditional | dev for tests | non-empty env name | "Which environment provides or generates the file?" |
target_env | run: yes | dev for tests | non-empty env name | "Which environment should receive and execute the file?" |
backup_name | optional | unset | backup file name from backup list/create | "Which server backup should be restored or downloaded?" |
migration_name | optional | unset | migration file name from migration list/create | "Which server migration package should be downloaded?" |
local_file | optional | unset | readable local .nbdata path | "Which local package file should be uploaded or executed?" |
cli_home | optional | CLI global home | writable CLI home directory | "Which CLI home should store downloaded release files?" |
rule_id | migration create only | unset | non-empty id | "Which migration rule ID should be used?" |
migration_user_rule | migration rule create only | schema-only | schema-only or overwrite | "How should user-defined tables be handled?" |
migration_system_rule | migration rule create only | overwrite-first | overwrite-first or schema-only | "How should system tables be handled?" |
title | migration create only | publish-<source>-to-<target> | non-empty text | "Which migration title should be used?" |
execute_options | optional | safe CLI defaults | known nb api backup restore* or nb api migration execute flags | "Any high-risk flags such as --skip-backup or --skip-revert-on-error?" |
confirm_publish_input | before create/download/rule create/check | unset | explicit approval | "Confirm the selected input before I create, download, or check the package." |
confirm_execute | before restore/execute/remove | unset | must be confirm | "Type confirm to execute on the target environment." |