EmilyDirsh / hotwire-shell

Automatically exported from code.google.com/p/hotwire-shell
Other
0 stars 0 forks source link

improved option processing; support options with arguments #117

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Basically we need to support e.g. --foo=bar.

Implementation; take a look at optparse.

Original issue reported on code.google.com by cgwalt...@gmail.com on 22 Jan 2008 at 9:11

GoogleCodeExporter commented 9 years ago
The relevant code is in hotwire/command.py:create...in the inner function 
arg_to_opts.

To add API like this we'll probably also need to modify hotwire/builtin.py to 
accept
some sort of argument definition class.

Original comment by cgwalt...@gmail.com on 22 Jan 2008 at 9:11

GoogleCodeExporter commented 9 years ago
In order to corretly support "open terminal here..." in applications like 
nautilus an
option for setting the initial path would be nice. Maybe hotwire could even
automatically render the directory? 

Furthermore, to use hotwire as a drop in replacement in the gnome environment an
option to support "execute in terminal" is needed.

Original comment by joern.dr...@googlemail.com on 10 Feb 2008 at 12:37