From 5f8880f2708bca26c83b0a28f441530844eb339d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Coutable?= Date: Sun, 19 Jun 2011 21:55:28 +0200 Subject: [PATCH] Guard has now a (basic) man page! :) --- .gitignore | 1 + guard.gemspec | 2 +- man/guard.1.gz | Bin 0 -> 759 bytes man/guard.1.html | 127 +++++++++++++++++++++++++++++++++++++++++++++++ man/guard.md | 48 ++++++++++++++++++ 5 files changed, 177 insertions(+), 1 deletion(-) create mode 100644 man/guard.1.gz create mode 100644 man/guard.1.html create mode 100644 man/guard.md diff --git a/.gitignore b/.gitignore index e705a8b..45a6e93 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ pkg/* *.gem .bundle Gemfile.lock +!man/*.gz ## MAC OS .DS_Store diff --git a/guard.gemspec b/guard.gemspec index 77d7328..786b1f8 100644 --- a/guard.gemspec +++ b/guard.gemspec @@ -20,7 +20,7 @@ Gem::Specification.new do |s| s.add_dependency 'thor', '~> 0.14.6' - s.files = Dir.glob('{bin,images,lib}/**/*') + %w[LICENSE README.md CHANGELOG.md] + s.files = Dir.glob('{bin,images,lib}/**/*') + %w[CHANGELOG.md LICENSE man/guard.1.gz man/guard.1.html README.md] s.executable = 'guard' s.require_path = 'lib' end diff --git a/man/guard.1.gz b/man/guard.1.gz new file mode 100644 index 0000000000000000000000000000000000000000..319017b0a4844dcf159bc4f2a6d9dd9f0e148c75 GIT binary patch literal 759 zcmVe&<)5^0Y}UwA;g^zNKlJWNMQr zP-)eeCIbgpH8!$MTK@gcCZvh9s#1uI?|k2PpT8qaCs3h8%`6u1%54ohC1td~3V(#( zgOI|twe3w5RTS&8Fjq~at!h~Rq9W~5twxLv=|Pw*VX}Cd?(QZqxu)l5ClS6~UAwjW zxty4C*3-xNBuLBKs$;rH%N?YbuyAX5L2L~$3D_ej3BBqxlw2S*s^BHhndM5FG#qQi z&+E-LUd5BZ7lX81sdmUIcVp7sJf7`V+hny_Pl5r66ADm64U+{3PDHIz0&LAJATwO_ zP*aG2agWj(N5=6m9}!t@9_QQXf*Nz8nWJi{m(7zK{>K9w&nNb(BwHs(dYKdH3-C*N z5y-UbV&)cxxFN(f3IVLNsEKA?LryF!9B7PHq?fc@m4a2L1*NjQ?9YS29XBkaHhpkx z3%)G0dKI8FJn(Ed2L-k$3ofhU#hBh$Y`&%;td+$lW`u7{r7#76i2oNFbuX2wo%2h|D>qy|Vsh2!Dv4(^LHqkwyoGzQ + + + + + guard(1) - Guard keeps an eye on your file modifications. + + + + +
+ + + +
    +
  1. guard(1)
  2. +
  3. +
  4. guard(1)
  5. +
+ +

NAME

+

+ guard - Guard keeps an eye on your file modifications. +

+ +

SYNOPSIS

+ +

guard options

+ +

DESCRIPTION

+ +

Guard is a command line tool that easily handle events on files modifications.

+ +

HOMEPAGE

+ +

https://github.com/guard/guard

+ +

OPTIONS

+ +
+
-c, --clear

Clears the Shell after each change.

+
-n flag, --notify flag

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.

+
-g list of groups, --group list of groups

Runs only the groups specified.

+
-d, --debug

Runs Guard in debug mode.

+
+ + +

EXAMPLES

+ +

[bundle exec] guard --clear --group backend frontend --notify false --debug

+ +

or in a more concise way:

+ +

[bundle exec] guard -c -g backend frontend -n f -d

+ +

AUTHORS / CONTRIBUTORS

+ +

Thibaud Guillaume-Gentil is the main author.

+ +

A list of contributors based on all commits can be found here: +https://github.com/guard/guard/contributors

+ +

For an exhaustive list of all the contributors, please see the CHANGELOG: +https://github.com/guard/guard/blob/master/CHANGELOG.md

+ + +
    +
  1. +
  2. June 2011
  3. +
  4. guard(1)
  5. +
+ +
+ + diff --git a/man/guard.md b/man/guard.md new file mode 100644 index 0000000..723ab6b --- /dev/null +++ b/man/guard.md @@ -0,0 +1,48 @@ +guard(1) -- Guard keeps an eye on your file modifications. +======================================================== + +## SYNOPSIS + +guard [options] + +## DESCRIPTION + +Guard is a command line tool that easily handle events on files modifications. + +## HOMEPAGE + +https://github.com/guard/guard + +## OPTIONS + +* `-c`, `--clear`: + Clears the Shell after each change. + +* `-n` , `--notify` : + 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 part can be passed to guard using true/false or t/f. + +* `-g` , `--group` : + Runs only the groups specified. + +* `-d`, `--debug`: + Runs Guard in debug mode. + +## EXAMPLES + +`[bundle exec] guard --clear --group backend frontend --notify false --debug` + +or in a more concise way: + +`[bundle exec] guard -c -g backend frontend -n f -d` + +## AUTHORS / CONTRIBUTORS + +Thibaud Guillaume-Gentil is the main author. + +A list of contributors based on all commits can be found here: +https://github.com/guard/guard/contributors + +For an exhaustive list of all the contributors, please see the CHANGELOG: +https://github.com/guard/guard/blob/master/CHANGELOG.md