Categories: None [Edit]
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/.
Total
Ranking: 38,144 of 187,950
Downloads: 31,769
Daily
Ranking: 40,471 of 187,922
Downloads: 17
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 2,010 | 12,582,223 | rr |
| 8,206 | 448,969 | bacon |
| 60,888 | 16,960 | bacon-bits |
| 108,155 | 6,840 | bacon-rr |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | cldwalker |