RubyGems Navigation menu

lightning 0.3.4

Lightning is a commandline framework that lets users wrap commands with shell functions that are able to refer to any filesystem path by its basename. To achieve this, a group of paths to be translated are defined with shell globs. These shell globs, known as a lightning _bolt_, are then applied to commands to produce functions. In addition to translating basenames to full paths, lightning _functions_ can autocomplete these basenames, resolve conflicts if they have the same name, leave any non-basename arguments untouched, and autocomplete directories above and below a basename. To make bolts shareable between users and functions easier to create, lightning has _generators_. A _generator_ generates filesystem-specific globs for a bolt. Lightning comes with some default generators. Users can make their own generators with generator plugins placed under ~/.lightning/generators/.

Versions:

  1. 0.4.1 - February 24, 2012 (29.5 KB)
  2. 0.4.0 - April 20, 2011 (29.5 KB)
  3. 0.3.4 - April 8, 2011 (29 KB)
  4. 0.3.3 - February 8, 2011 (29 KB)
  5. 0.3.2 - April 13, 2010 (30 KB)
Show all versions (8 total)

Authors:

  • Gabriel Horner

Owners:

8f0660cdc9f5d91c7d97456f8f0be8c7

Total downloads 10,421

For this version 1,106

Show all versions (8 total)

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'lightning', '~> 0.3.4' = Copy to clipboard Copied!

install:
gem install lightning -v 0.3.4 = Copy to clipboard Copied!

Links: