gofer
A gofer for devops developer
Installation
Donwload latest Release
MacOS
mv gofer-macos /usr/local/bin/gofer
Linux
mv gofer-linux /usr/local/bin/gofer
Wondows
Run gofer-win.exe in CMD
Usage example
# Display help message
gofer -h
Usage: gofer [options] [command]
Options:
-c, --config <path> config file
-v, --version output the version number
-h, --help display help for command
Commands:
init [path] create .mcloudconfig
azure execcute azure tool
gitlab execcute gitlab tool
docker execcute docker tool
k8s execcute k8s tool
help [command] display help for command
Config.json
Create config.json at the first time
gofer will save .mcloudconfig under home directory if path not specified
gofer init [path]
# ~/.mcloudconfig
{
"git-api": "https://gitlab.com/api/v4",
"git-pat": "YOUR_GITLAB_TOKEN",
"projects": [],
// Optional
'gitlab-group-id': 1,
}
Development setup
All you need is nodejs, then run npm install
npm install
Meta
Distributed under the MIT license.
Contributing
- Fork it (https://github.com/droyuki/gofer/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request