tog-cli

module
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2021 License: MIT

README

Tog CLI

GitHub release (latest SemVer) GitHub Workflow Status (branch)

Tog (short for toggle) is a framework for clients and servers to converse about feature flags over Redis.

This is the command-line tool that interacts with the Server API to update flags and experiments.

Table of contents

Usage

  • tog config
  • tog login
  • tog list
  • tog get <flag-name>
  • tog set <flag-name> [...options]
  • tog delete <flag-name>
  • tog help [<command>]

Installation

macOS

Install: brew install escaletech/tog/tog

Upgrade: brew update && brew upgrade tog

Windows (via Scoop)

Install:

scoop bucket add github-gh https://github.com/cli/scoop-gh.git
scoop install gh

Upgrade: scoop update tog

Linux
Debian/Ubuntu Linux

Install and upgrade:

  1. Download the .deb file from the releases page
  2. sudo apt install git && sudo dpkg -i tog_*_linux_amd64.deb install the downloaded file
Fedora Linux

Install and upgrade:

  1. Download the .rpm file from the releases page
  2. sudo dnf install tog_*_linux_amd64.rpm install the downloaded file
Centos Linux

Install and upgrade:

  1. Download the .rpm file from the releases page
  2. sudo yum localinstall tog_*_linux_amd64.rpm install the downloaded file
openSUSE/SUSE Linux

Install and upgrade:

  1. Download the .rpm file from the releases page
  2. sudo zypper in tog_*_linux_amd64.rpm install the downloaded file
Any platform, using Go
  1. Verify that you have Go 1.13+ installed
    $ go version
    go version go1.13.7
    
  2. Go get
    go get -u github.com/escaletech/tog-cli
    

Directories

Path Synopsis
cmd
tog
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL