views:

62

answers:

1

I am developing a time management tool for my personal use. I prefer using keyboard over mouse, and on the interface have a general purpose text box which will act like a command line. I have just started thinking about what commands I need, what to use for the command names, how to pass in switches and parameters, and so forth.

I wonder if some of you have come across a good read along these lines; something that describes the choices you have for designing a cli, and how those affect the complexity of the interpreter, and extendability of the commands. It makes no difference if the descriptions are language-specific or in general terms. However, my implementation will be with javascript.

Thank you.

+1  A: 

Read this:

http://www.amazon.com/Software-Tools-Brian-W-Kernighan/dp/020103669X

It explains some of the "philosophy" behind the Unix CLI.

http://www.ibm.com/developerworks/linux/library/l-clutil/

http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html#tag_12_01c

S.Lott
Will check these now.
Majid
I couldn't hope for better articles. The last two are exactly what I was looking for. Thanks so much.
Majid