Skip to content

Latest commit

 

History

History
71 lines (51 loc) · 1.66 KB

README.md

File metadata and controls

71 lines (51 loc) · 1.66 KB

🔗 cog

Modular shell script to do fun shell things with ease. Cog depends on cog modules to actually do anything. Like cog-rsync which makes use of cog-envs. By itself, cog is a means to making more shell scripting more fun 🎉

Dependencies

  • Uses bpkg to easy install cog modules as defined via package.json.

Installing Cog

The easiest way to install cog is by using the cog install script which handles everything so you can do less copying and pasting and more cogging.

curl -o- -L https://raw.githubusercontent.com/gearbox-built/cog/master/install.sh | bash

Parameters

The rest coming...

cog <command>

🛠 Local Development

1. Clone git repo

git clone [email protected]:gearbox-built/cog.git cog-dev

2. Verify Script

cd cog-dev
./cog

> 
--------------------------------------------------------
Cog
v1.0.1
--------------------------------------------------------

Usage:
cog <module|command>

Modules:
No modules installed

Commands:
update

--------------------------------------------------------
Full README here: https://github.com/Gearbox-built/cog
--------------------------------------------------------

3. Setup Modules

Create dependencies directory

mkdir deps

Clone/install modules

# Install for use only
bpkg install gearbox-built/cog-envs

# Clone for development
git clone [email protected]:gearbox-built/cog-envs.git deps/cog-envs