2011-06-19 20:04:20 +00:00
|
|
|
.\" generated with Ronn/v0.7.3
|
|
|
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
|
|
|
.
|
2011-08-09 23:16:31 +00:00
|
|
|
.TH "GUARD" "1" "August 2011" "" ""
|
2011-06-19 20:04:20 +00:00
|
|
|
.
|
|
|
|
.SH "NAME"
|
|
|
|
\fBguard\fR \- Guard keeps an eye on your file modifications\.
|
|
|
|
.
|
2011-08-09 23:16:31 +00:00
|
|
|
.SH "DESCRIPTION"
|
|
|
|
Guard is a command line tool that easily handle events on files modifications\.
|
|
|
|
.
|
2011-06-19 20:04:20 +00:00
|
|
|
.SH "SYNOPSIS"
|
2011-06-21 15:00:00 +00:00
|
|
|
guard \fIcommand\fR \fIoptions\fR
|
2011-06-19 20:04:20 +00:00
|
|
|
.
|
2011-08-09 23:16:31 +00:00
|
|
|
.SH "COMMANDS"
|
2011-06-19 20:04:20 +00:00
|
|
|
.
|
2011-08-09 23:16:31 +00:00
|
|
|
.SS "start"
|
|
|
|
Starts Guard\. This is the default command if none is provided\.
|
2011-06-19 20:04:20 +00:00
|
|
|
.
|
2011-08-09 23:16:31 +00:00
|
|
|
.P
|
|
|
|
The following options are available:
|
2011-06-19 20:04:20 +00:00
|
|
|
.
|
2011-08-09 23:16:31 +00:00
|
|
|
.P
|
|
|
|
\fB\-c\fR/\fB\-\-clear\fR
|
2011-06-19 20:04:20 +00:00
|
|
|
.
|
2011-08-09 23:16:31 +00:00
|
|
|
.IP "" 4
|
2011-06-19 20:04:20 +00:00
|
|
|
.
|
2011-08-09 23:16:31 +00:00
|
|
|
.nf
|
|
|
|
|
|
|
|
Clears the Shell after each change\.
|
2011-06-19 20:04:20 +00:00
|
|
|
.
|
2011-08-09 23:16:31 +00:00
|
|
|
.fi
|
2011-06-19 20:04:20 +00:00
|
|
|
.
|
2011-08-09 23:16:31 +00:00
|
|
|
.IP "" 0
|
2011-06-21 15:00:00 +00:00
|
|
|
.
|
2011-08-09 23:16:31 +00:00
|
|
|
.P
|
|
|
|
\fB\-n\fR/\fB\-\-notify\fR \fIflag\fR
|
2011-06-21 15:00:00 +00:00
|
|
|
.
|
2011-08-09 23:16:31 +00:00
|
|
|
.IP "" 4
|
2011-06-21 15:00:00 +00:00
|
|
|
.
|
2011-08-09 23:16:31 +00:00
|
|
|
.nf
|
|
|
|
|
|
|
|
Disable notifications (Growl or Libnotify depending on your system)\.
|
|
|
|
Note that notifications can also be disabled globally by setting a GUARD_NOTIFY environment variable to false\.
|
|
|
|
The <flag> part can be passed to guard using true/false or t/f\.
|
|
|
|
.
|
|
|
|
.fi
|
|
|
|
.
|
|
|
|
.IP "" 0
|
|
|
|
.
|
|
|
|
.P
|
|
|
|
\fB\-d\fR/\fB\-\-debug\fR
|
|
|
|
.
|
|
|
|
.IP "" 4
|
|
|
|
.
|
|
|
|
.nf
|
|
|
|
|
|
|
|
Runs Guard in debug mode\.
|
|
|
|
.
|
|
|
|
.fi
|
|
|
|
.
|
|
|
|
.IP "" 0
|
|
|
|
.
|
|
|
|
.P
|
|
|
|
\fB\-g\fR/\fB\-\-group\fR \fIgroup\fR \.\.\.
|
|
|
|
.
|
|
|
|
.IP "" 4
|
|
|
|
.
|
|
|
|
.nf
|
|
|
|
|
|
|
|
Runs only the groups specified\.
|
|
|
|
.
|
|
|
|
.fi
|
|
|
|
.
|
|
|
|
.IP "" 0
|
|
|
|
.
|
|
|
|
.P
|
|
|
|
\fB\-w\fR/\fB\-\-watchdir\fR \fIfolder\fR
|
|
|
|
.
|
|
|
|
.IP "" 4
|
|
|
|
.
|
|
|
|
.nf
|
|
|
|
|
|
|
|
Specify the directory to watch\.
|
|
|
|
.
|
|
|
|
.fi
|
|
|
|
.
|
|
|
|
.IP "" 0
|
|
|
|
.
|
|
|
|
.P
|
|
|
|
\fB\-G\fR/\fB\-\-guardfile\fR \fIfile\fR
|
|
|
|
.
|
|
|
|
.IP "" 4
|
|
|
|
.
|
|
|
|
.nf
|
|
|
|
|
|
|
|
Specify a Guardfile by giving its path\.
|
|
|
|
.
|
|
|
|
.fi
|
|
|
|
.
|
|
|
|
.IP "" 0
|
|
|
|
.
|
|
|
|
.SS "init [guard]"
|
2011-06-21 15:00:00 +00:00
|
|
|
Add the requested guard\'s default Guardfile configuration to the current Guardfile\.
|
|
|
|
.
|
2011-08-09 23:16:31 +00:00
|
|
|
.SS "list"
|
|
|
|
Lists guards that can be used with the \fBinit\fR command\.
|
|
|
|
.
|
|
|
|
.SS "\-T/show"
|
2011-06-21 15:00:00 +00:00
|
|
|
List defined groups and guards for the current Guardfile\.
|
|
|
|
.
|
2011-08-09 23:16:31 +00:00
|
|
|
.SH "OPTIONS"
|
|
|
|
.
|
|
|
|
.TP
|
|
|
|
\fB\-h\fR
|
|
|
|
List all of Guard\'s available commands\.
|
|
|
|
.
|
|
|
|
.SS "start"
|
|
|
|
.
|
2011-06-19 20:04:20 +00:00
|
|
|
.SH "EXAMPLES"
|
2011-08-09 23:16:31 +00:00
|
|
|
\fB[bundle exec] guard [start] \-\-watchdir ~/dev \-\-guardfile ~/env/Guardfile \-\-clear \-\-group backend frontend \-\-notify false \-\-debug\fR
|
2011-06-19 20:04:20 +00:00
|
|
|
.
|
|
|
|
.P
|
|
|
|
or in a more concise way:
|
|
|
|
.
|
|
|
|
.P
|
2011-08-09 23:16:31 +00:00
|
|
|
\fB[bundle exec] guard [start] \-w ~/dev \-G ~/env/Guardfile \-c \-g backend frontend \-n f \-d\fR
|
2011-06-19 20:04:20 +00:00
|
|
|
.
|
|
|
|
.SH "AUTHORS / CONTRIBUTORS"
|
|
|
|
Thibaud Guillaume\-Gentil is the main author\.
|
|
|
|
.
|
|
|
|
.P
|
|
|
|
A list of contributors based on all commits can be found here: https://github\.com/guard/guard/contributors
|
|
|
|
.
|
|
|
|
.P
|
|
|
|
For an exhaustive list of all the contributors, please see the CHANGELOG: https://github\.com/guard/guard/blob/master/CHANGELOG\.md
|
2011-08-09 23:16:31 +00:00
|
|
|
.
|
|
|
|
.P
|
|
|
|
This manual has been written by Remy Coutable\.
|
|
|
|
.
|
|
|
|
.SH "WWW"
|
|
|
|
https://github\.com/guard/guard
|