small medium large xlarge

Generic-user-small
09 Jan 2012, 19:42
Max Meyer (7 posts)

You wrote about command suites and commandline parsers. Are you going to write something about building command shells (incl. tab completion)?

Something similar to psql (Postgres), sqlite3 etc.

Dmfcb_pragsmall
09 Jan 2012, 20:56
David Copeland (486 posts)

The last chapter covers using deadline to implement a command-shell, including tab completion and history browsing.

Generic-user-small
11 Jan 2012, 08:45
Max Meyer (7 posts)

You mean readline not deadline, aren’t you? I found it eventually.

But maybe it’s worth to mention something about command shells in chapter 2 and add a reference chapter to chapter 10.

Generic-user-small
11 Jan 2012, 16:50
Max Meyer (7 posts)

I searched a bit on ruby-toolbox.com and may be there are some gems which make life easier when one wants to build a command shell:

  • Building your own shell https://github.com/rossmeissl/bombshell

  • irb-like shell which can be exteneded via plugins to match one’s needs https://github.com/cldwalker/ripl

  • easy autocompletion https://github.com/cldwalker/bond

Generic-user-small
24 Jan 2012, 05:52
charles williams (1 post)

thankz Max. that would definitely give us a big help.

You must be logged in to comment