Skip to content
Bra (Brilliant Ridiculous Assistant) is a command line utility tool.
Go
Branch: master
Clone or download
Latest commit 9f09ca3 Oct 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd Improve project structure Oct 20, 2019
internal Improve project structure Oct 20, 2019
templates Improve project structure Oct 20, 2019
.gitignore Improve project structure Oct 20, 2019
LICENSE Initial commit Jul 12, 2014
README.md Improve project structure Oct 20, 2019
bra.go Improve project structure Oct 20, 2019
go.mod Enable Go modules Oct 20, 2019
go.sum Enable Go modules Oct 20, 2019

README.md

Brilliant Ridiculous Assistant

Bra (Brilliant Ridiculous Assistant) is a command line utility tool.

Usage

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

COMMANDS:
   init     initialize config template file
   run      start monitoring and notifying
   sync     keep syncing two end points
   help, h  Shows a list of commands or help for one command

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

Quick Start

To work with a new app, you have to have a .bra.toml file under the work directory. You can quickly generate a default one by executing following command:

$ bra init

FAQs

How to I gracefully shutdown the application?

Change following values in your .bra.toml:

[run]
interrupt_timout = 15
graceful_kill = true

This will send os.Interrupt signal first and wait for 15 seconds before force kill.

Configuration

An example configuration is available as default.bra.toml.

License

This project is under Apache v2 License. See the LICENSE file for the full license text.

You can’t perform that action at this time.