Back to directory
octoproject avatar

octo-cli

CLI tool to expose data from any database as a serverless web service.. Read more below about its uses, features, and usage.

Clone repository

git clone https://github.com/octoproject/octo-cli.git

688

Stars

18

Forks

14

Watchers

MIT

License

Octo CLI

octo-cli makes the data available from any database as a serverless web service, simplifying the process of building data-driven applications.

Knative and OpenFaaS are the only supported serverless frameworks in octo-cli for now.

92412306 1b8d1880 f154 11ea 974e 8b610cbb4ea4

Octo will create an endpoint that will expose your data as service, all you need to provide is yml file that describes your service.

overview

Supported Databases

  • PostgreSQL
  • MSSQL
  • MySQL

Supported Serverless Frameworks

  • OpenFaaS
  • Knative

Installation

Download Latest Binary

Alternatively you can install using go:

go get github.com/octoproject/octo-cli

Documentation

Documentation can be found on here.

Examples

Examples can be found in the examples/ directory. They are step-by-step examples that will help you to deploy your first service using octo-cli

Usage

$ octo-cli      
Expose data from any database as web service

Usage:
  octo-cli [flags]
  octo-cli [command]

Available Commands:
  build       Build function Docker container
  create      Create a new service
  deploy      Deploy a new service
  help        Help about any command
  init        Generate service configuration YAML file

Flags:
  -h, --help   help for octo-cli

Use "octo-cli [command] --help" for more information about a command.