Skip to content
A CLI tool for managing Docker Swarms through the Portainer API
Go Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd
.gitignore
LICENSE
README.md
build.sh
go.mod
go.sum
main.go
releases.sh

README.md

Barge

Barge is a command line tool for viewing multiple Docker Swarms through Portainer.

Usage

Get Barge

curl -L https://github.com/BenOvermyer/barge/releases/download/0.4.0/barge-linux-amd64 -o barge
chmod +x barge

Config & Run

Optionally, these values can be provided in YAML notation via barge.yaml.

export PORTAINER_URL=https://portainer.mysite.com
export PORTAINER_USERNAME=myuser
export PORTAINER_PASSWORD=mypass
barge -h

Contributing

During local development, you can use go run to build from source and run the target application all in one shot.

go run .

If you'd like to test it with arguments, you can append them. Here's an example with the container command.

go run . container --help
You can’t perform that action at this time.