14 Commits

Author SHA1 Message Date
Ian Adam Naval
1d7d2d8446 Add tests for example commands 2015-02-26 18:08:01 -05:00
Ian Adam Naval
7b5b8b4d06 Make echo and example available in new shell 2015-02-26 18:07:50 -05:00
Ian Adam Naval
7e708ba4ab Made registering commands better
Registering commands requires adding the name as a string so that we can
have nice PEP 8-compatible class names for commands.
2015-02-26 17:47:06 -05:00
Ian Adam Naval
26cb8a5ed7 Restructure to Python package 2015-02-26 16:47:39 -05:00
Ian Adam Naval
e363bfd13c Add case for empty input 2015-02-26 16:36:02 -05:00
Ian Adam Naval
23ae01e442 Fix issue where empty inputs cause crash 2015-02-26 16:34:35 -05:00
Ian Adam Naval
6f04d50ea0 Add GNU readline-like support. 2015-02-26 16:30:48 -05:00
Ian Adam Naval
490c9f5900 Add some more documentation 2015-02-26 16:06:36 -05:00
Ian Adam Naval
5565f0c4ef Update api to use chain and call
Much sexier than __call__
2015-02-26 15:37:08 -05:00
Sam Abradi
2ed55a58d2 fixed the bullshit with the name conflict when loading commands that share names with commands being loaded from PATH. also made arguments work, basically by making BaseCommand take an aray of args in __init__ and then passing it all of the args in parse_cmd 2015-02-24 18:04:02 -05:00
Ian Adam Naval
80ac53e72e Fix example commands 2015-02-20 22:54:09 -05:00
Ian Adam Naval
9324774208 Improve shell argument parsing
For example, this patch fixes the command "df | awk '{print $1}'"
2015-02-20 22:53:22 -05:00
Ian Adam Naval
0a78e571fd tabs -> spaces 2015-02-20 18:27:21 -05:00
Ian Adam Naval
c9b1b2fba9 Initial commit 2015-02-20 18:20:22 -05:00