baruwactl
This tool provides commandline access to manage a Baruwa
server via the REST API.
It is built using the Baruwa Golang bindings.
Usage: baruwactl -k -s COMMAND [arg...]
A cmdline client for the Baruwa REST API.
Options:
-k, --api-token Baruwa API OAUTH Token (env $BARUWA_API_TOKEN)
-s, --server-url Baruwa server url (env $BARUWA_API_SERVER)
Commands:
user manage user accounts
users list user accounts
domain manage domains
domains list domains
organization manage organizations
organizations list organizations
systemstatus show system status
Run 'baruwactl COMMAND --help' for more information on a command.
Installation
Binary
Precompiled binaries are available for download on the
releases page
Source
To install from source
$ go get github.com/baruwa-enterprise/baruwactl
Requirements
Testing
make test
Contributing
- Fork it (https://github.com/baruwa-enterprise/baruwactl/fork)
- Create your feature branch (
git checkout -b my-new-feature
)
- Commit your changes (
git commit -am 'Add some feature'
)
- Push to the branch (
git push origin my-new-feature
)
- Create new Pull Request
License
All code is licensed under the
MPLv2 License.