8000 GitHub - mariadb-corporation/skysql-api-cli: MariaDB SkySQL API CLI Client
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mariadb-corporation/skysql-api-cli

Repository files navigation

MariaDB SkySQL API CLI Client

The MariaDB SkySQL DBaaS API CLI Client is a Technical Preview. Software in Tech Preview should not be used for production workloads.

This project contains a command line client for the SkySQL API.

Install

Download the latest release of the cli for your OS from the Releases page on github:

https://github.com/mariadb-corporation/skysql-api-cli/releases/latest

We recommend renaming the file to skysqlcli and placing it into your $PATH for convenience.

Usage

The skysqlcli may be configured via command line flags, environment variables, or config file (in that order of precedence).

To view the commands that are available, use...

skysqlcli --help

The usage information is also available in markdown form in the repository.

Configuration

Environment variables read by this cli client are all prefixed with SKYSQL_, and use the same flags as the command line with any hyphens replaced with underscores and using uppercase. For example, to provide the --api-key flag via an environment variable, export the value using SKYSQL_API_KEY.

Completion

Completion scripts may be generated for you preferred shell. Instructions are provided for each shell in the respective --help output (e.g. skysqlcli completion bash --help). Note that autocompletion on the cli will only work when an api-key is provided.

Contributing

A devcontainer is provided to assist with setting up a developer environment, and is expected to be used with VSCode. Once in the container, run make deps to install the dependencies for the project. A launch.json is provided as an example for using the debugger.

About

MariaDB SkySQL API CLI Client

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  
0