B0go / octopus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Octopus

Manages git projects locally.

Instalation

Download the latest version compatible with your OS

Unpack the contents and execute the install.sh script:

~/blah
λ tar -xvzf octopus_0.1.3_macOS_64-bit.tar.gz
x install.sh
x octopus

~/blah
λ ./install.sh

Installing octopus...


Octopus successfully installed!


~/blah
λ octopus
NAME:
   octopus - Manages Github projects locally

USAGE:
   octopus [global options] command [command options] [arguments...]

VERSION:
   1.0.0

COMMANDS:
     install, i  octopus install julius, octopus install --team=fortknox, octopus install --all
     get, g      octopus get SUBCOMMAND
     run, r      octopus run julius
     help, h     Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

Usage

Octopus manages projects configured at the config.yaml file located at ~/.octopus/config.yaml. You must create one.

Functionality

Install

  • Specific project
octopus install myproject
  • All team's project
octopus install --team=myteam
  • All configured projects
octopus install --all

Get

  • Configured projects
octopus get projects
  • Configured teams
octopus get teams

Run

  • Run a project
octopus run myproject
  • Run a project on a specific branch
octopus run myproject --branch=mybranch

Feel free to open a pull request and contribute! Help is always apreciated :)

About

License:MIT License


Languages

Language:Go 98.8%Language:Shell 1.2%