Sign in Sign up
rubygems

lightning

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/.

Activity

Latest release
14y ago
Total releases
8
Cadence
~2 months
Last 12 months
0

Details

First release
Oct 23, 2009
Releases
Version Released
0.4.1 patch
0.4.0 minor
0.3.4 patch
0.3.3 patch
0.3.2 patch
0.3.1 patch
0.3.0 minor
0.2.1 initial