brother / glesys-bash-client

A bash API client for Glesys.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Glesys Bash Client

Instructions

  • Set config in ./config
  • Template path is not required, you can use the default ones.
  • Options path will be required, so you can customize your requests: i.e. ./glesys send server/create ~/glesys/options/server/create-medium-8core-projectX
  • Both will be inferred based on the url parameter if omitted.
  • Are you sure? [Y/n]: Bypassed by adding a Y as the 5th parameter.

Usage

./glesys <show|send|help> <url> <options> <template> <Y>

Examples

./glesys help
./glesys help server/create
./glesys show server/create
./glesys show server/create ~/glesys/options/server/create
./glesys send server/create ~/glesys/options/server/create ~/glesys/templates/server/create

Todo

  • Changing content type not yet supported, and probably won't be.

Links

About

A bash API client for Glesys.

License:MIT License


Languages

Language:Shell 100.0%