Devel
OpenServerless Development Utilities.
Synopsis
Usage:
devel user
devel apihost
devel detect
devel ferretdb
devel minio
devel psql
devel redis
Commands
devel user login in openserverless
devel apihost show apihost for current context
devel detect detect if web and packages directory are in place for the current directory
devel ferretdb ferretdb utilities
devel minio minio utilities
devel psql postgresql utilities
devel redis redis utilities
1 - Ferretdb
OpenServerless Ferret Db Development Utilities.
Synopsis
Usage:
ferretdb find <collection> [--format=table|json]
ferretdb submit <collection> <jsonfile>
ferretdb delete <collection>
ferretdb command [<jsonfile>] [--format=table|json]
Commands
ferretdb find search all elements in FerretDb/MongoDb collection
ferretdb submit submit <file> to a FerretDb/MongoDb collection
ferretdb delete empty the FerretDb/MongoDb collection
ferretdb command send a raw command from json file passed on stdin. See https://www.mongodb.com/docs/manual/reference/method/db.runCommand/#mongodb-method-db.runCommand
Options
--format Output data as table or json. default is json
2 - Minio
OpenServerless Minio/S3 Development Utilities.
Synopsis
Usage:
minio ls [--format=table|json]
minio lsb <bucket> [--format=table|raw|json]
minio rm <bucket> <file>
minio mv <bucket> <file> <dest_bucket> <dest_file>
minio cp <bucket> <file> <dest_bucket> <dest_file>
minio put <localfile> <bucket> <file>
minio get <bucket> <file>
minio clean <bucket> [<regexp>] [--dryrun]
Commands
ls retrieve the list of all the user buckets
lsb retrieve the content of the specified bucket (recursively)
rm remove the given file from the specified bucket
mv move a file from a bucket to another
cp copy a file from a bucket to another
put upload a localfile into the bucket/file
get download a bucket file locally
clean removes matching files (default pattern is .*) from the specified bucket (recursively)
Options
--format Output data as table or as json. default is json
3 - Psql
OpenServerless PostrgreSQL Utilities.
Synopsis
Usage:
psql describe <table> [--format=json|table]
psql sql [<file>] [--format=json|table]
Commands
describe perfoms a query to describe the given table if it exists in the user PostgresSQL database
sql submits a SQL snippet (like SELECT *, CREATE TABLE etc) from stdin or as a file and print-out the corresponding results
Options
--format Output data as table or as json. default is json
4 - Redis
OpenServerless Redis Development Utilities.
Synopsis
Usage:
redis prefix
redis command <command>
Commands
prefix print the redis prefix to use when submitting REDIS command to persist/retrieves value from user REDIS reserved partition
command execute a redis command (@see https://redis.io/commands/), eg 'SET prefix:key value' or 'GET prefix:key value'. Key names should always start with the user assigned prefix (@see ops devel redis prefix)