Skip to content

wodby/wodby-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wodby CLI

Build Status Docker Pulls Docker Stars Docker Layers

This project provides a unified command line interface to wodby.com.

Install

Fetch the latest release for your platform:

Linux (amd64)

export WODBY_CLI_LATEST_URL=$(curl -s https://api.github.com/repos/wodby/wodby-cli/releases/latest | grep linux-amd64 | grep browser_download_url | cut -d '"' -f 4)
wget -qO- "${WODBY_CLI_LATEST_URL}" | sudo tar xz -C /usr/local/bin

macOS

export WODBY_CLI_LATEST_URL=$(curl -s https://api.github.com/repos/wodby/wodby-cli/releases/latest | grep darwin-amd64 | grep browser_download_url | cut -d '"' -f 4)
wget -qO- "${WODBY_CLI_LATEST_URL}" | tar xz -C /usr/local/bin

Usage

You can run the Wodby CLI in your shell by typing wodby.

Commands

The current output of wodby is as follows:

CLI client for Wodby

Usage:
    wodby [command]

Available Commands:
    ci
        init WODBY_INSTANCE_UUID
        run COMMAND
        build SERVICE/IMAGE
        release
        deploy
    help         Help about any command
    version      Shows Wodby CLI version

Flags:
      --api-key string          API key
      --api-prefix string       API prefix (default "api/v2")
      --api-proto string        API protocol (default "https")
      --ci-config-path string   Path to CI config (defaut "/tmp/.wodby-ci.json")
      --dind                    Docker in docker mode (for init)
  -h, --help                    Help for wodby
  -v, --verbose                 Verbose output

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