@based/cli
call
Options:
-n, --name <name> name
-c, --cluster <cluster> cluster (default: "production")
-o, --org <org> org
-p, --project <project> project
-e, --env <env> env
--api-key <api-key> API key for service account
edit
Options:
-i, --id <id> id
-d, --db <db> db
-l, --language <language> language
--editor <editor> editor (default: "nvim")
-c, --cluster <cluster> cluster (default: "production")
-o, --org <org> org
-p, --project <project> project
-e, --env <env> env
--api-key <api-key> API key for service account
deploy
-f, --function <functions...> function names to deploy (variadic)
--schema deploy schemas (default: false)
-w, --watch watch for changes (default: false)
-f, --force force deploy unchanged (default: false)
-c, --cluster <cluster> cluster (default: "production")
-o, --org <org> org
-p, --project <project> project
-e, --env <env> env
--api-key <api-key> API key for service account
dev
--port <port> set the dev server port manually (default: 1234 or random if in use)
-s, --skip-auth skip auth (default: false)
-c, --cluster <cluster> cluster (default: "production")
-o, --org <org> org
-p, --project <project> project
-e, --env <env> env
--api-key <api-key> API key for service account
secrets
set
Options:
-k, --key <key> key
-v, --value <value> value
-c, --cluster <cluster> cluster (default: "production")
-o, --org <org> org
-p, --project <project> project
-e, --env <env> env
get
Options:
-k, --key <key> key
-c, --cluster <cluster> cluster (default: "production")
-o, --org <org> org
-p, --project <project> project
-e, --env <env> env
query
Options:
-w, --watch watch for changes (default: false)
-i, --id <id> id
-d, --db <db> db
-n, --name <name> name
-t, --type <type> type
-l, --language <language> language
-f, --fields <fields> fields
-r, --limit <limit> limit
-c, --cluster <cluster> cluster (default: "production")
-o, --org <org> org
-p, --project <project> project
-e, --env <env> env
logs
show
Options:
--before <before> filter before date
--after <after> filter before date
--fn <fn> filter function name
--cs <cs> filter checksum
--level <level> filter level
--service <service...> filter service name
-c, --cluster <cluster> cluster (default: "production")
-o, --org <org> org
-p, --project <project> project
-e, --env <env> env
delete
Options:
--debug show debug info if available
-c, --cluster <cluster> cluster (default: "production")
-o, --org <org> org
-p, --project <project> project
-e, --env <env> env
backups
upload
Options:
-f, --file <file> .rdb backup file to upload
-n, --name <name> db isntance name
--debug show debug info if available
-c, --cluster <cluster> cluster (default: "production")
-o, --org <org> org
-p, --project <project> project
-e, --env <env> env
list
Options:
-c, --cluster <cluster> cluster (default: "production")
-o, --org <org> org
-p, --project <project> project
-e, --env <env> env
download
Options:
-c, --cluster <cluster> cluster (default: "production")
-o, --org <org> org
-p, --project <project> project
-e, --env <env> env
select
Options:
-c, --cluster <cluster> cluster (default: "production")
-o, --org <org> org
-p, --project <project> project
-e, --env <env> env
flush
Options:
-n, --name <name> db isntance name
-c, --cluster <cluster> cluster (default: "production")
-o, --org <org> org
-p, --project <project> project
-e, --env <env> env
make
-c, --cluster <cluster> cluster (default: "production")
-o, --org <org> org
-p, --project <project> project
-e, --env <env> env
--api-key <api-key> API key for service account
init
Options:
--path <path> path where to install boilerplate app
--lib <lib> frontend library to use (choices: "react")
--debug show debug info if available
-c, --cluster <cluster> cluster (default: "production")
-o, --org <org> org
-p, --project <project> project
-e, --env <env> env
--size <size> size of env to create (choices: "small", "large")