GithubHelp home page GithubHelp logo

isabella232 / skysql-api-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mariadb-corporation/skysql-api-cli

0.0 0.0 0.0 665 KB

MariaDB SkySQL API CLI Client

Home Page: https://r.mariadb.com/skysql-api-cli

License: Apache License 2.0

Dockerfile 2.83% Makefile 0.16% Go 97.01%

skysql-api-cli's Introduction

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.

skysql-api-cli's People

Contributors

mariadb-donmayo avatar mariadb-johnhalbert avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.