Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wodby/wodby-cli

Wodby CLI
https://github.com/wodby/wodby-cli

cli wodby

Last synced: 3 months ago
JSON representation

Wodby CLI

Awesome Lists containing this project

README

        

# Wodby CLI

[![Build Status](https://github.com/wodby/wodby-cli/workflows/Build/badge.svg)](https://github.com/wodby/wodby-cli/actions)
[![Docker Pulls](https://img.shields.io/docker/pulls/wodby/wodby-cli.svg)](https://hub.docker.com/r/wodby/wodby-cli)
[![Docker Stars](https://img.shields.io/docker/stars/wodby/wodby-cli.svg)](https://hub.docker.com/r/wodby/wodby-cli)
[![Docker Layers](https://images.microbadger.com/badges/image/wodby/wodby-cli.svg)](https://microbadger.com/images/wodby/wodby-cli)

This project provides a unified command line interface to [wodby.com](https://wodby.com).

## Install

Fetch the [latest release](https://github.com/wodby/wodby-cli/releases) for your platform:

#### Linux (amd64)

```bash
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

```bash
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.
```