Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@rockset/cli
Advanced tools
Official Rockset CLI
Mac/Linux installation (recommended):
curl https://rockset-cli-artifacts.s3-us-west-2.amazonaws.com/install-standalone.sh | bash
You can also install the @rockset/cli
package directly from NPM. This isn't recommended, as the
package will not be able to autoupdate. Make sure you are on Node 10.x or 12.x before attempting this.
npm install -g @rockset/cli
The first thing you should do after installing is to set up Autocomplete. This will greatly ease the process of navigating the Rock CLI tool.
// Print autocomplete instructions for bash
rockset autocomplete
// Print autocomplete instructions for ZSH
rockset autocomplete:zsh
The new Rockset CLI support 3 core workflows.
rockset auth
)rockset api
)
rockset project
)
You can also update the Rockset CLI using rockset update
.
// This will require a password
$ curl https://rockset-cli-artifacts.s3-us-west-2.amazonaws.com/install-standalone.sh | bash
// open a new shell
$ rockset -h
$ rockset -v
// Set up autocomplete
$ rockset autocomplete
// Add authentication information
$ rockset auth:add apikey [apiserver]
// Update rockset cli
$ rockset update
$ rockset COMMAND
running command...
@rockset/cli/0.0.28 darwin-x64 node-v12.16.3
$ rockset --help [COMMAND]
USAGE
$ rockset COMMAND
...
rockset api:apikeys:createApiKey [BODY]
rockset api:apikeys:createApiKeyAdmin [BODY] [USER]
rockset api:apikeys:deleteApiKey [NAME]
rockset api:apikeys:deleteApiKeyAdmin [NAME] [USER]
rockset api:apikeys:listApiKeys
rockset api:apikeys:listApiKeysAdmin [USER]
rockset api:collections:createCollection [WORKSPACE] [BODY]
rockset api:collections:deleteCollection [WORKSPACE] [COLLECTION]
rockset api:collections:getCollection [WORKSPACE] [COLLECTION]
rockset api:collections:listCollections
rockset api:collections:listQueryLambdasInCollection [WORKSPACE] [COLLECTION]
rockset api:collections:workspaceCollections [WORKSPACE]
rockset api:documents:addDocuments [WORKSPACE] [COLLECTION] [BODY]
rockset api:documents:deleteDocuments [WORKSPACE] [COLLECTION] [BODY]
rockset api:documents:patchDocuments [WORKSPACE] [COLLECTION] [BODY]
rockset api:integrations:createIntegration [BODY]
rockset api:integrations:deleteIntegration [INTEGRATION]
rockset api:integrations:getIntegration [INTEGRATION]
rockset api:integrations:listIntegrations
rockset api:orgs:getOrganization
rockset api:queries:query [BODY]
rockset api:queryLambdas:createQueryLambda [WORKSPACE] [BODY]
rockset api:queryLambdas:deleteQueryLambda [WORKSPACE] [QUERYLAMBDA]
rockset api:queryLambdas:executeQueryLambda [WORKSPACE] [QUERYLAMBDA] [VERSION] [BODY]
rockset api:queryLambdas:getQueryLambdaVersion [WORKSPACE] [QUERYLAMBDA] [VERSION]
rockset api:queryLambdas:listAllQueryLambdas
rockset api:queryLambdas:listQueryLambdaVersions [WORKSPACE] [QUERYLAMBDA]
rockset api:queryLambdas:listQueryLambdasInWorkspace [WORKSPACE]
rockset api:queryLambdas:updateQueryLambda [WORKSPACE] [QUERYLAMBDA] [BODY]
rockset api:users:createUser [BODY]
rockset api:users:deleteUser [USER]
rockset api:users:getCurrentUser
rockset api:users:listUsers
rockset api:workspaces:childWorkspaces [WORKSPACE]
rockset api:workspaces:createWorkspace [BODY]
rockset api:workspaces:deleteWorkspace [WORKSPACE]
rockset api:workspaces:getWorkspace [WORKSPACE]
rockset api:workspaces:listWorkspaces
rockset auth:add NAME APIKEY [APISERVER]
rockset auth:list
rockset auth:use NAME
rockset autocomplete [SHELL]
rockset help [COMMAND]
rockset project:add NAME
rockset project:delete
rockset project:deploy
rockset project:download
rockset project:execute NAME
rockset project:init
rockset project:list
rockset project:resolve NAME
rockset project:serve
rockset sql [SQL]
rockset update [CHANNEL]
rockset api:apikeys:createApiKey [BODY]
Create API Key
USAGE
$ rockset api:apikeys:createApiKey [BODY]
ARGUMENTS
BODY JSON object
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Create API Key
Create a new API key for the authenticated user.
Endpoint: POST: /v1/orgs/self/users/self/apikeys
Endpoint Documentation: https://docs.rockset.com/rest-api#createapikey
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/apikeys/createApiKey.ts
rockset api:apikeys:createApiKeyAdmin [BODY] [USER]
Create API Key for any user (admin only)
USAGE
$ rockset api:apikeys:createApiKeyAdmin [BODY] [USER]
ARGUMENTS
BODY JSON object
USER
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Create API Key for any user (admin only)
Create a new API key for any user (admin only).
Endpoint: POST: /v1/orgs/self/users/{user}/apikeys
Endpoint Documentation: https://docs.rockset.com/rest-api#createapikeyadmin
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/apikeys/createApiKeyAdmin.ts
rockset api:apikeys:deleteApiKey [NAME]
Delete API Key
USAGE
$ rockset api:apikeys:deleteApiKey [NAME]
ARGUMENTS
NAME name of the API key
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Delete API Key
Delete an API key for the authenticated user.
Endpoint: DELETE: /v1/orgs/self/users/self/apikeys/{name}
Endpoint Documentation: https://docs.rockset.com/rest-api#deleteapikey
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/apikeys/deleteApiKey.ts
rockset api:apikeys:deleteApiKeyAdmin [NAME] [USER]
Delete API Key for any user (admin only)
USAGE
$ rockset api:apikeys:deleteApiKeyAdmin [NAME] [USER]
ARGUMENTS
NAME name of the API key
USER
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Delete API Key for any user (admin only)
Delete an API key for any user (admin only).
Endpoint: DELETE: /v1/orgs/self/users/{user}/apikeys/{name}
Endpoint Documentation: https://docs.rockset.com/rest-api#deleteapikeyadmin
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/apikeys/deleteApiKeyAdmin.ts
rockset api:apikeys:listApiKeys
List API Keys
USAGE
$ rockset api:apikeys:listApiKeys
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
List API Keys
List all API keys for the authenticated user.
Endpoint: GET: /v1/orgs/self/users/self/apikeys
Endpoint Documentation: https://docs.rockset.com/rest-api#listapikeys
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/apikeys/listApiKeys.ts
rockset api:apikeys:listApiKeysAdmin [USER]
List API Keys for any user (admin only)
USAGE
$ rockset api:apikeys:listApiKeysAdmin [USER]
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
List API Keys for any user (admin only)
List all API keys for any user (admin only).
Endpoint: GET: /v1/orgs/self/users/{user}/apikeys
Endpoint Documentation: https://docs.rockset.com/rest-api#listapikeysadmin
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/apikeys/listApiKeysAdmin.ts
rockset api:collections:createCollection [WORKSPACE] [BODY]
Create Collection
USAGE
$ rockset api:collections:createCollection [WORKSPACE] [BODY]
ARGUMENTS
WORKSPACE name of the workspace
BODY JSON object
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Create Collection
Create new collection in a workspace.
Endpoint: POST: /v1/orgs/self/ws/{workspace}/collections
Endpoint Documentation: https://docs.rockset.com/rest-api#createcollection
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/collections/createCollection.ts
rockset api:collections:deleteCollection [WORKSPACE] [COLLECTION]
Delete Collection
USAGE
$ rockset api:collections:deleteCollection [WORKSPACE] [COLLECTION]
ARGUMENTS
WORKSPACE name of the workspace
COLLECTION name of the collection
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Delete Collection
Delete a collection and all its documents from Rockset.
Endpoint: DELETE: /v1/orgs/self/ws/{workspace}/collections/{collection}
Endpoint Documentation: https://docs.rockset.com/rest-api#deletecollection
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/collections/deleteCollection.ts
rockset api:collections:getCollection [WORKSPACE] [COLLECTION]
Get Collection
USAGE
$ rockset api:collections:getCollection [WORKSPACE] [COLLECTION]
ARGUMENTS
WORKSPACE name of the workspace
COLLECTION name of the collection
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Get Collection
Get details about a collection.
Endpoint: GET: /v1/orgs/self/ws/{workspace}/collections/{collection}
Endpoint Documentation: https://docs.rockset.com/rest-api#getcollection
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/collections/getCollection.ts
rockset api:collections:listCollections
List Collections
USAGE
$ rockset api:collections:listCollections
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
List Collections
Retrieve all collections in an organization.
Endpoint: GET: /v1/orgs/self/collections
Endpoint Documentation: https://docs.rockset.com/rest-api#listcollections
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/collections/listCollections.ts
rockset api:collections:listQueryLambdasInCollection [WORKSPACE] [COLLECTION]
Get Query Lambdas
USAGE
$ rockset api:collections:listQueryLambdasInCollection [WORKSPACE] [COLLECTION]
ARGUMENTS
WORKSPACE name of the workspace
COLLECTION name of the collection
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Get Query Lambdas
Get all Query Lambdas that hit a specific Rockset Collection.
Endpoint: GET: /v1/orgs/self/ws/{workspace}/collections/{collection}/lambdas
Endpoint Documentation: https://docs.rockset.com/rest-api#listquerylambdasincollection
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/collections/listQueryLambdasInCollection.ts
rockset api:collections:workspaceCollections [WORKSPACE]
List Collections for Workspace
USAGE
$ rockset api:collections:workspaceCollections [WORKSPACE]
ARGUMENTS
WORKSPACE name of the workspace
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
List Collections for Workspace
Retrieve all collections in a workspace.
Endpoint: GET: /v1/orgs/self/ws/{workspace}/collections
Endpoint Documentation: https://docs.rockset.com/rest-api#workspacecollections
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/collections/workspaceCollections.ts
rockset api:documents:addDocuments [WORKSPACE] [COLLECTION] [BODY]
Add Documents
USAGE
$ rockset api:documents:addDocuments [WORKSPACE] [COLLECTION] [BODY]
ARGUMENTS
WORKSPACE name of the workspace
COLLECTION name of the collection
BODY JSON object
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated
into arguments of the same name. If no BODY argument is specified, the whole object,
minus keys used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-l, --loadTestRps=loadTestRps If this flag is active, a load test will be conducted using this apicall. The value
passed to this flag determines how many requests per second will be sent
-x, --extended show extra columns
-y, --yes Skip all safety prompts
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Add Documents
Add documents to a collection in Rockset.
Endpoint: POST: /v1/orgs/self/ws/{workspace}/collections/{collection}/docs
Endpoint Documentation: https://docs.rockset.com/rest-api#adddocuments
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/documents/addDocuments.ts
rockset api:documents:deleteDocuments [WORKSPACE] [COLLECTION] [BODY]
Delete Documents
USAGE
$ rockset api:documents:deleteDocuments [WORKSPACE] [COLLECTION] [BODY]
ARGUMENTS
WORKSPACE name of the workspace
COLLECTION name of the collection
BODY JSON object
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated
into arguments of the same name. If no BODY argument is specified, the whole object,
minus keys used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-l, --loadTestRps=loadTestRps If this flag is active, a load test will be conducted using this apicall. The value
passed to this flag determines how many requests per second will be sent
-x, --extended show extra columns
-y, --yes Skip all safety prompts
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Delete Documents
Delete documents from a collection in Rockset.
Endpoint: DELETE: /v1/orgs/self/ws/{workspace}/collections/{collection}/docs
Endpoint Documentation: https://docs.rockset.com/rest-api#deletedocuments
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/documents/deleteDocuments.ts
rockset api:documents:patchDocuments [WORKSPACE] [COLLECTION] [BODY]
Patch Documents
USAGE
$ rockset api:documents:patchDocuments [WORKSPACE] [COLLECTION] [BODY]
ARGUMENTS
WORKSPACE name of the workspace
COLLECTION name of the collection
BODY JSON Patch objects
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated
into arguments of the same name. If no BODY argument is specified, the whole object,
minus keys used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-l, --loadTestRps=loadTestRps If this flag is active, a load test will be conducted using this apicall. The value
passed to this flag determines how many requests per second will be sent
-x, --extended show extra columns
-y, --yes Skip all safety prompts
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Patch Documents
Patch documents in a collection
Endpoint: PATCH: /v1/orgs/self/ws/{workspace}/collections/{collection}/docs
Endpoint Documentation: https://docs.rockset.com/rest-api#patchdocuments
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/documents/patchDocuments.ts
rockset api:integrations:createIntegration [BODY]
Create Integration
USAGE
$ rockset api:integrations:createIntegration [BODY]
ARGUMENTS
BODY integration credentials
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Create Integration
Create a new integration with Rockset.
Endpoint: POST: /v1/orgs/self/integrations
Endpoint Documentation: https://docs.rockset.com/rest-api#createintegration
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/integrations/createIntegration.ts
rockset api:integrations:deleteIntegration [INTEGRATION]
Delete Integration
USAGE
$ rockset api:integrations:deleteIntegration [INTEGRATION]
ARGUMENTS
INTEGRATION name of the integration
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Delete Integration
Remove an integration.
Endpoint: DELETE: /v1/orgs/self/integrations/{integration}
Endpoint Documentation: https://docs.rockset.com/rest-api#deleteintegration
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/integrations/deleteIntegration.ts
rockset api:integrations:getIntegration [INTEGRATION]
Get Integration
USAGE
$ rockset api:integrations:getIntegration [INTEGRATION]
ARGUMENTS
INTEGRATION name of the integration
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Get Integration
Get information about a single integration.
Endpoint: GET: /v1/orgs/self/integrations/{integration}
Endpoint Documentation: https://docs.rockset.com/rest-api#getintegration
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/integrations/getIntegration.ts
rockset api:integrations:listIntegrations
List Integrations
USAGE
$ rockset api:integrations:listIntegrations
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
List Integrations
List all integrations for organization.
Endpoint: GET: /v1/orgs/self/integrations
Endpoint Documentation: https://docs.rockset.com/rest-api#listintegrations
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/integrations/listIntegrations.ts
rockset api:orgs:getOrganization
Get Organization
USAGE
$ rockset api:orgs:getOrganization
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Get Organization
Retrieve information about current organization.
Endpoint: GET: /v1/orgs/self
Endpoint Documentation: https://docs.rockset.com/rest-api#getorganization
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/orgs/getOrganization.ts
rockset api:queries:query [BODY]
Query
USAGE
$ rockset api:queries:query [BODY]
ARGUMENTS
BODY JSON object
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated
into arguments of the same name. If no BODY argument is specified, the whole object,
minus keys used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-l, --loadTestRps=loadTestRps If this flag is active, a load test will be conducted using this apicall. The value
passed to this flag determines how many requests per second will be sent
-x, --extended show extra columns
-y, --yes Skip all safety prompts
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Query
Make a SQL query to Rockset.
Endpoint: POST: /v1/orgs/self/queries
Endpoint Documentation: https://docs.rockset.com/rest-api#query
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/queries/query.ts
rockset api:queryLambdas:createQueryLambda [WORKSPACE] [BODY]
Create Query Lambda
USAGE
$ rockset api:queryLambdas:createQueryLambda [WORKSPACE] [BODY]
ARGUMENTS
WORKSPACE name of the workspace
BODY JSON object
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated
into arguments of the same name. If no BODY argument is specified, the whole object,
minus keys used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-l, --loadTestRps=loadTestRps If this flag is active, a load test will be conducted using this apicall. The value
passed to this flag determines how many requests per second will be sent
-x, --extended show extra columns
-y, --yes Skip all safety prompts
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Create Query Lambda
Create a Query Lambda in given workspace.
Endpoint: POST: /v1/orgs/self/ws/{workspace}/lambdas
Endpoint Documentation: https://docs.rockset.com/rest-api#createquerylambda
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/queryLambdas/createQueryLambda.ts
rockset api:queryLambdas:deleteQueryLambda [WORKSPACE] [QUERYLAMBDA]
Delete Query Lambda
USAGE
$ rockset api:queryLambdas:deleteQueryLambda [WORKSPACE] [QUERYLAMBDA]
ARGUMENTS
WORKSPACE name of the workspace
QUERYLAMBDA name of the Query Lambda
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated
into arguments of the same name. If no BODY argument is specified, the whole object,
minus keys used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-l, --loadTestRps=loadTestRps If this flag is active, a load test will be conducted using this apicall. The value
passed to this flag determines how many requests per second will be sent
-x, --extended show extra columns
-y, --yes Skip all safety prompts
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Delete Query Lambda
Delete a Query Lambda.
Endpoint: DELETE: /v1/orgs/self/ws/{workspace}/lambdas/{queryLambda}
Endpoint Documentation: https://docs.rockset.com/rest-api#deletequerylambda
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/queryLambdas/deleteQueryLambda.ts
rockset api:queryLambdas:executeQueryLambda [WORKSPACE] [QUERYLAMBDA] [VERSION] [BODY]
Run Query Lambda
USAGE
$ rockset api:queryLambdas:executeQueryLambda [WORKSPACE] [QUERYLAMBDA] [VERSION] [BODY]
ARGUMENTS
WORKSPACE name of the workspace
QUERYLAMBDA name of the Query Lambda
VERSION version
BODY JSON object
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated
into arguments of the same name. If no BODY argument is specified, the whole object,
minus keys used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-l, --loadTestRps=loadTestRps If this flag is active, a load test will be conducted using this apicall. The value
passed to this flag determines how many requests per second will be sent
-x, --extended show extra columns
-y, --yes Skip all safety prompts
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Run Query Lambda
Run a particular version of a Query Lambda.
Endpoint: POST: /v1/orgs/self/ws/{workspace}/lambdas/{queryLambda}/versions/{version}
Endpoint Documentation: https://docs.rockset.com/rest-api#executequerylambda
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/queryLambdas/executeQueryLambda.ts
rockset api:queryLambdas:getQueryLambdaVersion [WORKSPACE] [QUERYLAMBDA] [VERSION]
Get Query Lambda Version
USAGE
$ rockset api:queryLambdas:getQueryLambdaVersion [WORKSPACE] [QUERYLAMBDA] [VERSION]
ARGUMENTS
WORKSPACE name of the workspace
QUERYLAMBDA name of the Query Lambda
VERSION version
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated
into arguments of the same name. If no BODY argument is specified, the whole object,
minus keys used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-l, --loadTestRps=loadTestRps If this flag is active, a load test will be conducted using this apicall. The value
passed to this flag determines how many requests per second will be sent
-x, --extended show extra columns
-y, --yes Skip all safety prompts
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Get Query Lambda Version
Get a specific version of a Query Lambda
Endpoint: GET: /v1/orgs/self/ws/{workspace}/lambdas/{queryLambda}/versions/{version}
Endpoint Documentation: https://docs.rockset.com/rest-api#getquerylambdaversion
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/queryLambdas/getQueryLambdaVersion.ts
rockset api:queryLambdas:listAllQueryLambdas
List Query Lambdas
USAGE
$ rockset api:queryLambdas:listAllQueryLambdas
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated
into arguments of the same name. If no BODY argument is specified, the whole object,
minus keys used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-l, --loadTestRps=loadTestRps If this flag is active, a load test will be conducted using this apicall. The value
passed to this flag determines how many requests per second will be sent
-x, --extended show extra columns
-y, --yes Skip all safety prompts
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
List Query Lambdas
List all Query Lambdas.
Endpoint: GET: /v1/orgs/self/lambdas
Endpoint Documentation: https://docs.rockset.com/rest-api#listallquerylambdas
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/queryLambdas/listAllQueryLambdas.ts
rockset api:queryLambdas:listQueryLambdaVersions [WORKSPACE] [QUERYLAMBDA]
List Query Lambda Versions
USAGE
$ rockset api:queryLambdas:listQueryLambdaVersions [WORKSPACE] [QUERYLAMBDA]
ARGUMENTS
WORKSPACE name of the workspace
QUERYLAMBDA name of the Query Lambda
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated
into arguments of the same name. If no BODY argument is specified, the whole object,
minus keys used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-l, --loadTestRps=loadTestRps If this flag is active, a load test will be conducted using this apicall. The value
passed to this flag determines how many requests per second will be sent
-x, --extended show extra columns
-y, --yes Skip all safety prompts
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
List Query Lambda Versions
List all versions of a Query Lambda.
Endpoint: GET: /v1/orgs/self/ws/{workspace}/lambdas/{queryLambda}/versions
Endpoint Documentation: https://docs.rockset.com/rest-api#listquerylambdaversions
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/queryLambdas/listQueryLambdaVersions.ts
rockset api:queryLambdas:listQueryLambdasInWorkspace [WORKSPACE]
List Query Lambdas
USAGE
$ rockset api:queryLambdas:listQueryLambdasInWorkspace [WORKSPACE]
ARGUMENTS
WORKSPACE name of the workspace
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated
into arguments of the same name. If no BODY argument is specified, the whole object,
minus keys used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-l, --loadTestRps=loadTestRps If this flag is active, a load test will be conducted using this apicall. The value
passed to this flag determines how many requests per second will be sent
-x, --extended show extra columns
-y, --yes Skip all safety prompts
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
List Query Lambdas
List all Query Lambdas under given workspace.
Endpoint: GET: /v1/orgs/self/ws/{workspace}/lambdas
Endpoint Documentation: https://docs.rockset.com/rest-api#listquerylambdasinworkspace
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/queryLambdas/listQueryLambdasInWorkspace.ts
rockset api:queryLambdas:updateQueryLambda [WORKSPACE] [QUERYLAMBDA] [BODY]
Update Query Lambda
USAGE
$ rockset api:queryLambdas:updateQueryLambda [WORKSPACE] [QUERYLAMBDA] [BODY]
ARGUMENTS
WORKSPACE name of the workspace
QUERYLAMBDA name of the Query Lambda
BODY JSON object
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated
into arguments of the same name. If no BODY argument is specified, the whole object,
minus keys used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-l, --loadTestRps=loadTestRps If this flag is active, a load test will be conducted using this apicall. The value
passed to this flag determines how many requests per second will be sent
-x, --extended show extra columns
-y, --yes Skip all safety prompts
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Update Query Lambda
Create a new version of a Query Lambda in given workspace.
Endpoint: POST: /v1/orgs/self/ws/{workspace}/lambdas/{queryLambda}/versions
Endpoint Documentation: https://docs.rockset.com/rest-api#updatequerylambda
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/queryLambdas/updateQueryLambda.ts
rockset api:users:createUser [BODY]
Create User
USAGE
$ rockset api:users:createUser [BODY]
ARGUMENTS
BODY JSON object
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Create User
Create a new user for an organization.
Endpoint: POST: /v1/orgs/self/users
Endpoint Documentation: https://docs.rockset.com/rest-api#createuser
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/users/createUser.ts
rockset api:users:deleteUser [USER]
Delete User
USAGE
$ rockset api:users:deleteUser [USER]
ARGUMENTS
USER user email
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Delete User
Delete a user from an organization.
Endpoint: DELETE: /v1/orgs/self/users/{user}
Endpoint Documentation: https://docs.rockset.com/rest-api#deleteuser
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/users/deleteUser.ts
rockset api:users:getCurrentUser
Get Current User
USAGE
$ rockset api:users:getCurrentUser
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Get Current User
Retrieve currently active user.
Endpoint: GET: /v1/orgs/self/users/self
Endpoint Documentation: https://docs.rockset.com/rest-api#getcurrentuser
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/users/getCurrentUser.ts
rockset api:users:listUsers
List Users
USAGE
$ rockset api:users:listUsers
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
List Users
Retrieve all users for an organization.
Endpoint: GET: /v1/orgs/self/users
Endpoint Documentation: https://docs.rockset.com/rest-api#listusers
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/users/listUsers.ts
rockset api:workspaces:childWorkspaces [WORKSPACE]
List Workspaces
USAGE
$ rockset api:workspaces:childWorkspaces [WORKSPACE]
ARGUMENTS
WORKSPACE name of the workspace
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
List Workspaces
List workspaces under given workspace.
Endpoint: GET: /v1/orgs/self/ws/{workspace}/ws
Endpoint Documentation: https://docs.rockset.com/rest-api#childworkspaces
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/workspaces/childWorkspaces.ts
rockset api:workspaces:createWorkspace [BODY]
Create Workspace
USAGE
$ rockset api:workspaces:createWorkspace [BODY]
ARGUMENTS
BODY workspace details
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Create Workspace
Create a new workspace in your org.
Endpoint: POST: /v1/orgs/self/ws
Endpoint Documentation: https://docs.rockset.com/rest-api#createworkspace
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/workspaces/createWorkspace.ts
rockset api:workspaces:deleteWorkspace [WORKSPACE]
Delete Workspace
USAGE
$ rockset api:workspaces:deleteWorkspace [WORKSPACE]
ARGUMENTS
WORKSPACE name of the workspace
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Delete Workspace
Remove a workspace.
Endpoint: DELETE: /v1/orgs/self/ws/{workspace}
Endpoint Documentation: https://docs.rockset.com/rest-api#deleteworkspace
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/workspaces/deleteWorkspace.ts
rockset api:workspaces:getWorkspace [WORKSPACE]
Get Workspace
USAGE
$ rockset api:workspaces:getWorkspace [WORKSPACE]
ARGUMENTS
WORKSPACE name of the workspace
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Get Workspace
Get information about a single workspace.
Endpoint: GET: /v1/orgs/self/ws/{workspace}
Endpoint Documentation: https://docs.rockset.com/rest-api#getworkspace
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/workspaces/getWorkspace.ts
rockset api:workspaces:listWorkspaces
List Workspaces
USAGE
$ rockset api:workspaces:listWorkspaces
OPTIONS
-f, --file=file The config file to execute this command from. Format must be json. Keys are translated into
arguments of the same name. If no BODY argument is specified, the whole object, minus keys
used as other arguments, will be passed in as the BODY.
-h, --help show CLI help
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--full Show the full results JSON object
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
List Workspaces
List all workspaces.
Endpoint: GET: /v1/orgs/self/ws
Endpoint Documentation: https://docs.rockset.com/rest-api#listworkspaces
This command is a simple wrapper around the above endpoint. Please view further documentation at the url above.
See code: src/commands/api/workspaces/listWorkspaces.ts
rockset auth:add NAME APIKEY [APISERVER]
Create a new profile with the specified name and apikey.
USAGE
$ rockset auth:add NAME APIKEY [APISERVER]
ARGUMENTS
NAME The name of the profile you wish to create.
APIKEY The apikey for your account
APISERVER [default: https://api.rs2.usw2.rockset.com] The url for the apiserver to include in this profile
OPTIONS
-a, --activate Whether to activate the profile after creating it
-h, --help show CLI help
DESCRIPTION
Create a new profile with the specified name and apikey.
See code: src/commands/auth/add.ts
rockset auth:list
List all of the available profiles.
USAGE
$ rockset auth:list
OPTIONS
-h, --help show CLI help
DESCRIPTION
List all of the available profiles.
See code: src/commands/auth/list.ts
rockset auth:use NAME
Use a specific authentication profile.
USAGE
$ rockset auth:use NAME
ARGUMENTS
NAME The name of the profile you wish to use.
OPTIONS
-h, --help show CLI help
DESCRIPTION
Use a specific authentication profile.
See code: src/commands/auth/use.ts
rockset autocomplete [SHELL]
display autocomplete installation instructions
USAGE
$ rockset autocomplete [SHELL]
ARGUMENTS
SHELL shell type
OPTIONS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
EXAMPLES
$ rockset autocomplete
$ rockset autocomplete bash
$ rockset autocomplete zsh
$ rockset autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
rockset help [COMMAND]
display help for rockset
USAGE
$ rockset help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
rockset project:add NAME
Add an empty entity with the specified name to the project. The path for the entity is the same
USAGE
$ rockset project:add NAME
ARGUMENTS
NAME The fully qualified name of the entity you wish to resolve
OPTIONS
-e, --entity=lambda [default: lambda] the type of entity you wish to add
-h, --help show CLI help
DESCRIPTION
Add an empty entity with the specified name to the project. The path for the entity is the same
as would be created with 'rockset project:resolve'
See code: src/commands/project/add.ts
rockset project:delete
Delete all query lambdas from the project.
USAGE
$ rockset project:delete
OPTIONS
-h, --help show CLI help
-y, --yes Bypass the safety checks, and automatically engage in dangerous actions.
DESCRIPTION
Delete all query lambdas from the project.
See code: src/commands/project/delete.ts
rockset project:deploy
Deploy Query Lambda entities to Rockset from your local project.
USAGE
$ rockset project:deploy
OPTIONS
-h, --help show CLI help
-t, --tag=
Specify a tag name to be applied to these Query Lambda versions.
DESCRIPTION
Deploy Query Lambda entities to Rockset from your local project.
See code: src/commands/project/deploy.ts
rockset project:download
Download Query Lambda entities from Rockset to your local project.
USAGE
$ rockset project:download
OPTIONS
-h, --help show CLI help
-t, --tag=
Specify a value to download all Query Lambda versions tagged with this tag.
Query Lambdas that do not have a version with this tag name will be skipped.
DESCRIPTION
Download Query Lambda entities from Rockset to your local project.
See code: src/commands/project/download.ts
rockset project:execute NAME
Execute a specific version of a Query Lambda in the current project.
USAGE
$ rockset project:execute NAME
ARGUMENTS
NAME The fully qualified name of the Query Lambda you wish to execute
OPTIONS
-h, --help show CLI help
DESCRIPTION
Execute a specific version of a Query Lambda in the current project.
You must specify the fully qualified name of the Query Lambda: eg. 'commons.foo'.
You must specify the specific version to execute: eg. 'b1d7c9a34b50cd'.
See code: src/commands/project/execute.ts
rockset project:init
Initialize your project.
USAGE
$ rockset project:init
OPTIONS
-h, --help show CLI help
DESCRIPTION
Initialize your project.
This command initializes your project with a rockconfig.json file.
See code: src/commands/project/init.ts
rockset project:list
List all of the entities in the current project. Note: this does not list entities on remote. For that, please use
USAGE
$ rockset project:list
OPTIONS
-e, --entity=lambda [default: lambda] the type of entity you wish to list
-h, --help show CLI help
DESCRIPTION
List all of the entities in the current project. Note: this does not list entities on remote. For that, please use
the API endpoints present in 'rockset api:...'
See code: src/commands/project/list.ts
rockset project:resolve NAME
Resolve the absolute path of an entity in the current project.
USAGE
$ rockset project:resolve NAME
ARGUMENTS
NAME The fully qualified name of the entity you wish to resolve
OPTIONS
-e, --entity=lambda|workspace [default: lambda] the type of entity you wish to resolve
-h, --help show CLI help
--exists Return with an error if file does not exist
--sql Return the SQL file path. Only for Query Lambdas.
DESCRIPTION
Resolve the absolute path of an entity in the current project.
You must specify the fully qualified name of the entity: eg. 'commons.foo'.
You must specify the type of entity that will be resolved.
See code: src/commands/project/resolve.ts
rockset project:serve
Start a development server that allows you to execute Query Lambdas from your local project from a development UI.
USAGE
$ rockset project:serve
OPTIONS
-h, --help show CLI help
-p, --port=port [default: 3001] The port to start the server at
DESCRIPTION
Start a development server that allows you to execute Query Lambdas from your local project from a development UI.
See code: src/commands/project/serve.ts
rockset sql [SQL]
Execute a SQL expression.
USAGE
$ rockset sql [SQL]
ARGUMENTS
SQL Rockset SQL string to execute
OPTIONS
-h, --help show CLI help
-l, --defaultLimit=defaultLimit Set the default row limit property on the query. This will set a default limit on the
query that can be overrided by a limit in the SQL text.
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
Execute a SQL expression.
EXAMPLE
// Runs a sql query passed as a string
rockset sql QUERY
// Opens your default editor to edit more complex queries
rockset sql -e
See code: src/commands/sql.ts
rockset update [CHANNEL]
update the rockset CLI
USAGE
$ rockset update [CHANNEL]
See code: @oclif/plugin-update
FAQs
Official Rockset CLI
The npm package @rockset/cli receives a total of 85 weekly downloads. As such, @rockset/cli popularity was classified as not popular.
We found that @rockset/cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.