bra

command module
v0.0.0-...-5e72b1c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

README

Brilliant Ridiculous Assistant

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

Usage

NAME:
   Bra - Brilliant Ridiculous Assistant is a command line utility tool.

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

VERSION:
   0.2.1.0321

AUTHOR:
  Author - <unknown@email>

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

Configuration

An example configuration take form gogsweb:

[run]
init_cmds = [["./gogsweb"]]		# Commands run in start
watch_all = true				# Watch all sub-directories
watch_dirs = [
	"$WORKDIR/conf",
	"$WORKDIR/models",
	"$WORKDIR/modules",
	"$WORKDIR/routers"
]								# Directories to watch
watch_exts = [".go", ".ini"]	# Extensions to watch
build_delay = 1500				# Minimal interval to Trigger build event
cmds = [
	["go", "install"],
	["go", "build"],
	["./gogsweb"]
]								# Commands to run

License

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

Documentation

Overview

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

Directories

Path Synopsis
modules

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL