CINXE.COM

Tagaholic - lightning

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Tagaholic - lightning</title> <meta name="keywords" content="lightning ruby, lightning shell, lightning autocompletion, lightning functions, commandline speed, fast autocompletion, autocompletion functions, tag filesystem" /> <meta name="description" content="<p> 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 ac" /> <link rel="stylesheet" href="http://tagaholic.me/stylesheets/master.css" type="text/css" media="screen" charset="utf-8"/> <link rel="stylesheet" href="http://tagaholic.me/stylesheets/syntax.css" type="text/css" /> <script src="/javascripts/jquery.js" type="text/javascript" charset="utf-8"></script> <script src="/javascripts/jquery.github.js" type="text/javascript" charset="utf-8"></script> <link rel='alternate' type='application/rss+xml' href='http://feeds2.feedburner.com/tagaholic' title="All Tagaholic posts"/> <link rel='alternate' type='application/rss+xml' href='http://feeds2.feedburner.com/tagaholic/tag/tag' title="Tagaholic posts tagged tag"/> <link rel='alternate' type='application/rss+xml' href='http://feeds2.feedburner.com/tagaholic/tag/ruby' title="Tagaholic posts tagged ruby"/> <link rel='alternate' type='application/rss+xml' href='http://feeds2.feedburner.com/tagaholic/tag/rails' title="Tagaholic posts tagged rails"/> </head> <body> <div id='wrapper'> <div id='header'> <h1>Tagaholic </h1> </div> <div id='menu'> <ul> <li><a href='/'>Home</a></li> <li><a href='/blog.html'>Blog</a></li> <li><a href='/projects.html'>Projects</a></li> <li><a href='/about.html'>About</a></li> </ul> </div> <div id='content'> <style type="text/css"> h1 { font-size: 3.0em; color: #000; margin: 0px; } h1 .small { font-size: 0.4em; } h1 a { text-decoration: none } h2 { font-size: 1.5em; color: #000; } h3 { text-align: center; color: #000; } a { color: #000; } .summary { font-size: 1.2em; margin-bottom: 30px; margin-top: 30px; font-style: italic;} .download { float: right; } pre { background: #000; color: #fff; padding: 15px;} #install { font-size: 1.2em} hr { border: 0; width: 80%; border-bottom: 1px solid #aaa} .footer { text-align:center; padding-top:30px; font-style: italic; } #documentation_link {font-weight: bold;} </style> <a href="https://github.com/cldwalker/lightning"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a> <div class="download"> <a href="https://github.com/cldwalker/lightning/zipball/master"> <img border="0" width="90" src="https://github.com/images/modules/download/zip.png"></a> <a href="https://github.com/cldwalker/lightning/tarball/master"> <img border="0" width="90" src="https://github.com/images/modules/download/tar.png"></a> </div> <h1><a href="https://github.com/cldwalker/lightning">lightning</a> <span class="small">by <a href="https://github.com/cldwalker">cldwalker</a></small></h1> <div class="summary"> Speed for your shell and the commandline </div> <h2>Install</h2> <pre id="install">gem install lightning</pre> <h2>Description</h2> <p> <p> 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 <em>bolt</em>, are then applied to commands to produce functions. In addition to translating basenames to full paths, lightning <em>functions</em> 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 <em>generators</em>. A <em>generator</em> 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/. </p> <p> <a id="documentation_link" href="doc/index.html">Read documentation.</a></p> </p> <h2>Download</h2> <p> You can download this project in either <a href="https://github.com/cldwalker/lightning/zipball/master">zip</a> or <a href="https://github.com/cldwalker/lightning/tarball/master">tar</a> formats, or clone the project with <a href="http://git-scm.com">Git</a>: <pre>$ git clone git://github.com/cldwalker/lightning</pre> </p> <h2>Issues</h2> <p>Issues, bugs, feature requests? <a href="https://github.com/cldwalker/lightning/issues">Please report them on github.</a> <h2>Links</h2> <p>Check out <a href="http://tagaholic.me/blog.html#*:*=lightning">blog posts related to this project</a>.</p> <h2>License</h2> <p>MIT</p> <h2>Authors</h2> <p>Gabriel Horner (gabriel.horner [AT] gmail.com)</p> <div class="footer"> Get the source code on GitHub : <a href="https://github.com/cldwalker/lightning">cldwalker/lightning</a> </div> <div class='clearfix'></div> </div> </div> <div id='footer'> Copyright &copy; 2010 Gabriel Horner. Some rights reserved. Hosted by <a href="https://github.com/cldwalker/cldwalker.github.com/" target='_blank'>GitHub</a> and powered by <a href="https://github.com/mojombo/jekyll" target='_blank'>Jekyll</a>. Theme by <a href="https://github.com/mbleigh/mbleigh.github.com" target='_blank'>Michael Bleigh</a>. </div> <script type="text/javascript"> // var disqus_developer = "1" // var disqus_url = "http://localhost:4000{{page.url}}"; //<![CDATA[ (function() { var links = document.getElementsByTagName('a'); var query = '?'; for(var i = 0; i < links.length; i++) { if(links[i].href.indexOf('#disqus_thread') >= 0) { query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&'; } } document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/tagaholic/get_num_replies.js' + query + '"></' + 'script>'); })(); //]]> </script> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-7276306-1"); pageTracker._trackPageview(); </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10