Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
99 lines (59 sloc) 2.58 KB

Dev Tips

Hoe

Configure Manifest Excludes

To configure files to exclude from the check_manifest task open ~/.hoerc and edit the line starting with exclude: e.g.

exclude: !ruby/regexp /tmp$|(attic\/\S+)|NOTES\.md|(sandbox\/\S+)|TODO\.markdown...

Command Line Suites

Commander

Docu / Links

Features:

  • Parses options using OptionParser
  • Optional default sub-command when none is present

Source Code Examples:

Source Code Examples for Options:

Some more gems depending on commander:

rhc, jspec, bind, rehabilitate, cloudsync, shnell, rutty, grapevine, uki, microcloud, html_email_creator, md_splitter, abak-flow, rid-core

Alternatives

CRI - stands for ??

[ ] todo add rubygems link

  • Runtime Dependencies: ??
  • Last Update: ??
  • Downloads: > ??

Used by nanoc (static site generator)

GLI - stands for ??

Used by: showoff

[ ] todo add rubygems link

  • Runtime Dependencies: ??
  • Last Update: ??
  • Downloads: > ??

Features:

  • Parses options using OptionParser

Minus:

Docu for default command says:

Note that if you use this, you won't be able to pass arguments, flags, or switches to the command when run in default mode. All flags and switches are treated as global, and any argument will be interpretted as the command name and likely fail.

Links

Todos

  • check gem - what is it using? hand rolled? w/ optparser?
  • add link to cli rubytoolbox category
  • move notes to rubybook (single-source, all in one place)