The Pragmatic Bookshelf | Build Awesome Command-Line Applications in Ruby
"Adding Tab Completion with GLI help and bash" – I like this section and the idea (command line completion from internal command line specification) very much.
Showing posts with label Getopt::Long. Show all posts
Showing posts with label Getopt::Long. Show all posts
Friday, December 9, 2011
Monday, May 16, 2011
book: Wicked Cool Ruby Scripts | No Starch Press
Wicked Cool Ruby Scripts | No Starch Press
- Chapter 1: General Purpose Utilities
- Chapter 2: Website Scripting :
#13 RSS Parsing -> meta feeds - Chapter 3: Li(U)nix System Administration
- Chapter 4: Picture Utilities
- Chapter 5: Games and Learning Tools
- Chapter 6: String Utilities
- Chapter 7: Servers and Scrapers
- Chapter 8: Arguments and Documentation: very nice examples on command line processing and inline documentation à la RDoc suitable for nice usage messages
- Chapter 9: Sorting Algorithms
- Chapter 10: Writing a Metasploit 3.1 Module with Ruby
Wednesday, June 16, 2010
option and configuration processing
Once again I came across this very nice and certainly very helpful article on O'Reilly's perl.com.
I personally really have been loving the Art of Command Line Processing for a very, very long time. During one of my last projects (it was actually mainly using p*th*n as programming language because of some rather weird and esoteric guy, who made it his personal mission to reinvent all the software spread over the bank from perl to p*th*n, especially the one he had written himself in quite unreadable perl a couple of years ago) I faced the task of prepping up a Java program from JasperForge.org, and the major value I added to that utility was to add command line processing using libraries from Apache. I actually offered Teodor Danciu of JasperSoft, JasperReports' inventor and main developer, to contribute my version of that utility to JasperForge, but he wasn't interested. I was rather sad. Maybe he will rethink that decision.
Update / 2010-09-19:
I think, I sort of "lied" :-) here. I didn't "offer" Teodor that extension of his own OSS software, that he had developed himself and then published under LGPL, I rather asked him this:
Can you imagine, that I get legally threatened for the above question, because an organisation thinks to possess rights on these minimal modifications I applied? We are talking literally about a couple of lines.
I personally really have been loving the Art of Command Line Processing for a very, very long time. During one of my last projects (it was actually mainly using p*th*n as programming language because of some rather weird and esoteric guy, who made it his personal mission to reinvent all the software spread over the bank from perl to p*th*n, especially the one he had written himself in quite unreadable perl a couple of years ago) I faced the task of prepping up a Java program from JasperForge.org, and the major value I added to that utility was to add command line processing using libraries from Apache. I actually offered Teodor Danciu of JasperSoft, JasperReports' inventor and main developer, to contribute my version of that utility to JasperForge, but he wasn't interested. I was rather sad. Maybe he will rethink that decision.
Update / 2010-09-19:
I think, I sort of "lied" :-) here. I didn't "offer" Teodor that extension of his own OSS software, that he had developed himself and then published under LGPL, I rather asked him this:
Is there any interest in a "'-D' command line / getProperty" version of TextApp?I would really love to even write and contribute a new and better version of my old approach, which was 100% based on OSS.
Can you imagine, that I get legally threatened for the above question, because an organisation thinks to possess rights on these minimal modifications I applied? We are talking literally about a couple of lines.
Subscribe to:
Posts (Atom)