@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
edit
Options:
-i, --id <id> id
-d, --db <db> db
-l, --language <language> language
--editor <editor> editor (default: "vi")
-c, --cluster <cluster> cluster (default: "production")
-o, --org <org> org
-p, --project <project> project
-e, --env <env> env
deploy
Options:
-f, --functions <functions...> Only deploy functions, optionally list which functions
-w, --watch watch for changes (default: false)
-c, --cluster <cluster> cluster (default: "production")
-o, --org <org> org
-p, --project <project> project
-e, --env <env> env
dev
Options:
-c, --cluster <cluster> cluster (default: "production")
-o, --org <org> org
-p, --project <project> project
-e, --env <env> env
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