Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/unknwon/bra
Bra (Brilliant Ridiculous Assistant) is a command line utility tool.
https://github.com/unknwon/bra
go hot-reload live-compile
Last synced: 23 days ago
JSON representation
Bra (Brilliant Ridiculous Assistant) is a command line utility tool.
- Host: GitHub
- URL: https://github.com/unknwon/bra
- Owner: unknwon
- License: apache-2.0
- Created: 2014-07-12T04:49:28.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-04-26T09:20:09.000Z (over 1 year ago)
- Last Synced: 2024-10-04T10:12:35.543Z (about 1 month ago)
- Topics: go, hot-reload, live-compile
- Language: Go
- Homepage:
- Size: 79.1 KB
- Stars: 399
- Watchers: 14
- Forks: 61
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Brilliant Ridiculous Assistant
==============================Bra (Brilliant Ridiculous Assistant) is a command line utility tool.
### Installtion
```bash
$ env GO111MODULE=on go get github.com/unknwon/bra
```## 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 commandGLOBAL 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`:
```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](templates/default.bra.toml).
## License
This project is under Apache v2 License. See the [LICENSE](LICENSE) file for the full license text.