From: "Luca (Email)" Date: 2011-12-29T15:50:57+09:00 Subject: I: Autocompletion of commands & arguments -----Messaggio originale----- Da: Sophie [mailto:itsme213@hotmail.com] Inviato: marted́ 15 novembre 2011 05:18 A: ruby-talk ML Oggetto: Autocompletion of commands & arguments I want to build a Ruby app with the following broad properties - Has some graph of objects, with a root R - each object (including R) has some methods, m - each m on each object has some args A - each A has a set of valid candidates values, defined by method candidates_A_m - the objects have (string) names I want to build a command-line interface which lets me: - start at the root R - invoke methods by typing in a prefix and using TAB - choose arg values by typing in object-name prefix and TAB - getting autocompletion or suggestion-list whenever possible - change my "working" location in the graph (like "cd") & continue I have not used Ruby in some time. Am looking for any suggestions on useful classes / libraries / methods / apps I should consider to make my life easier :-) Thanks! -- Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f Sponsor: ING DIRECT Conto Arancio. 4,20% per 12 mesi, zero spese, aprilo in due minuti! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid924&d)-12