| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Ensure help function works if use_argument_list = True | kotfu | 2018-01-14 | 1 | -3/+3 | |
| | | ||||||
| * | more robust argparse and arglist decorators | kotfu | 2018-01-14 | 1 | -2/+44 | |
| | | ||||||
| * | add use_argument_list setting | kotfu | 2018-01-12 | 1 | -0/+21 | |
| | | | | | new attribute on Cmd2.cmd which defaults to false, but if set true, causes all do_* commands to receive a list of arguments, instead of a string of what the user typed. | |||||
| * | new @with_argument_list decorator | kotfu | 2018-01-12 | 1 | -2/+13 | |
| | | ||||||
| * | @with_argument_parser now passes an arglist instead of a string | kotfu | 2018-01-12 | 1 | -5/+16 | |
| | | ||||||
| * | Fix a nasty bug in @with_argument_parser | Jared Crapo | 2018-01-10 | 1 | -0/+16 | |
| | | | | | second argument of do_* methods was getting mangled when we strip quotes | |||||
| * | Set prog in argparser based on the name of the function | kotfu | 2018-01-07 | 1 | -7/+8 | |
| | | ||||||
| * | Properly set docstring so it contains help message | kotfu | 2018-01-07 | 1 | -2/+10 | |
| | | ||||||
| * | Add tests for POSIX=true and arguments containing spaces | kotfu | 2018-01-07 | 1 | -3/+25 | |
| | | ||||||
| * | Merge branch 'master' of github.com:python-cmd2/cmd2 into argparse | kotfu | 2018-01-07 | 1 | -1/+1 | |
| |\ | ||||||
| | * | Enabled Python 3.7 testing on Travis CI | Todd Leonhardt | 2018-01-06 | 1 | -1/+1 | |
| | | | | | | | | | Also bumped version to 0.8.0a | |||||
| * | | Default posix and quote removal working. | kotfu | 2018-01-07 | 1 | -15/+21 | |
| | | | ||||||
| * | | Merge branch 'master' of github.com:python-cmd2/cmd2 into argparse | kotfu | 2018-01-07 | 2 | -13/+18 | |
| |\ \ | |/ | ||||||
| | * | Fix test_transcript.py in python 3.7 | kotfu | 2018-01-06 | 1 | -12/+17 | |
| | | | | | | | | | re.escape() changed behavior in python 3.7. | |||||
| | * | Updating version and changelog in preparation for minor bug fix realease | Todd Leonhardt | 2018-01-04 | 1 | -1/+1 | |
| | | | ||||||
| * | | New test cases for argparse | Jared Crapo | 2018-01-07 | 1 | -0/+54 | |
| |/ | ||||||
| * | Bump version to 0.7.9a | Todd Leonhardt | 2017-11-15 | 1 | -1/+1 | |
| | | | | | To distinguish it from the previous or next release | |||||
| * | Added fix for changes in pyperclip project structure in the most recent version | Todd Leonhardt | 2017-11-08 | 1 | -1/+1 | |
| | | | | | | | | | | Also included a number of minor maintenance updates: - Bumped version to 0.7.8 in preparation for upcoming release - Updated Readme.md to add link to slides from recent Florida PyCon talk about cmd2 - Updated documentation on integrating cmd2 with other event loops to use newer runcmds_plus_hooks() method instead of legacy onecmds_plus_hooks method which doesn't properly deal with load commands - Deleted old files which were used to prepare for a PyCon 2010 presentation - Updated ChangeLog regarding this bug fix | |||||
| * | Added some unit tests to cover new code | Todd Leonhardt | 2017-09-23 | 1 | -8/+56 | |
| | | ||||||
| * | Merge branch 'master' into support-load-in-onecmd_plus_hooks | Todd Leonhardt | 2017-09-22 | 1 | -1/+1 | |
| |\ | ||||||
| | * | Improved documentation for how a user can modify comment grammar/style | Todd Leonhardt | 2017-09-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | Also: - Added arg_print.py example to demonstrate this - Bumped version to 0.7.8a - Updated CHANGELOG | |||||
| * | | Provide method to run multiple commands w/o a cmdloop. | Alfred Levy | 2017-09-22 | 4 | -0/+63 | |
| |/ | | | | | | | | | | | | runcmds_plus_hooks can accept multiple commands process the command queue to deal with subsequent commands loaded from scripts without requiring a command loop. This better supports a one-off batch processing scenario. Also fixed the insertion order of commands placed in the command queue by load and _relative_load so that script commands are run in the expected order. Minor tweak to setup instructions in CONTRIBUTING.md to include pyperclip in prerequisites. | |||||
| * | Improved poutput() so that it can print an integer zero and other falsy things | Todd Leonhardt | 2017-09-05 | 1 | -3/+32 | |
| | | | | | | | | The poutput() function has been ruggedized so that it has a better conditional check so that it will actually print things which are "falsy" but are still convertible to a string. A few unit tests have been added specifically for the poutput function. | |||||
| * | Pick up a few more lines of test coverage | Jared Crapo | 2017-08-23 | 1 | -5/+7 | |
| | | ||||||
| * | Use context managers and decorators for mocks | Jared Crapo | 2017-08-23 | 1 | -33/+27 | |
| | | | | | | | Mocks of six.moves.input() and sys.stdin.isatty() now use either a context manager or a decorator. These wrappers make sure to put the functions back to their unmocked values when the test is done. This change appears to have solved the undeterministic test results. | |||||
| * | Removed unused capsys fixtures | Jared Crapo | 2017-08-23 | 1 | -6/+2 | |
| | | ||||||
| * | Rename tests that exercise pseudo_raw_input() | Jared Crapo | 2017-08-23 | 1 | -12/+12 | |
| | | ||||||
| * | add tests for pseudo_raw_input when isatty() is true | Jared Crapo | 2017-08-23 | 1 | -0/+42 | |
| | | ||||||
| * | io.StringIO requires unicode conversion on python2.7 | Jared Crapo | 2017-08-23 | 1 | -1/+1 | |
| | | ||||||
| * | Figured out how to test piped input without hacking stdin | Jared Crapo | 2017-08-23 | 1 | -82/+41 | |
| | | ||||||
| * | Discovered hacking sys.stdin doesn’t always work | Jared Crapo | 2017-08-23 | 1 | -17/+75 | |
| | | | | | When ‘pytest -n8’ parallelizes the test execution, hacking sys.stdin to some other file descriptor yields unpredictable results | |||||
| * | Prompt and line now properly echoed on tty and pipe | Jared Crapo | 2017-08-23 | 1 | -1/+50 | |
| | | | | | if we are on a pipe, we have to echo the prompt only after we read and are not at EOF. | |||||
| * | Improved what gets printed when running commands from a script with load ↵ | Todd Leonhardt | 2017-08-23 | 1 | -2/+3 | |
| | | | | | | | command and echo is True Previously just the command get printed. Now the prompt and the command gets printed. | |||||
| * | Updated CHANGELOG with some text regarding recent enhancements to transcript ↵ | Todd Leonhardt | 2017-08-22 | 1 | -1/+1 | |
| | | | | | | | regexes Also bumped version from 0.7.7a to 0.7.7 in preparation for eventual next release. | |||||
| * | Merge branch 'master' into fix/transcript_regexes | Todd Leonhardt | 2017-08-22 | 1 | -2/+5 | |
| |\ | ||||||
| | * | Fixed a unit test which was failing on Windows | Todd Leonhardt | 2017-08-21 | 1 | -2/+5 | |
| | | | | | | | | | Also fixed a 2nd unrelated unit test which sometimes failed on Windows, depending on what tools were installed or not. | |||||
| | * | Converted edit command to an @options command for the better argument ↵ | Todd Leonhardt | 2017-08-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | | parsing related to spaces and quotes The recent change of edit to allow spaces means that it can benefit from the better argument parsing cmd2 has for commands implemented using the @options decorator. | |||||
| * | | Fix a bug if there is only one slash | Jared Crapo | 2017-08-22 | 1 | -3/+7 | |
| | | | ||||||
| * | | Add comments to all regex test files | Jared Crapo | 2017-08-22 | 15 | -10/+34 | |
| | | | ||||||
| * | | Updates to CmdLineApp() | Jared Crapo | 2017-08-21 | 1 | -5/+5 | |
| | | | ||||||
| * | | regex implementation complete. Still a few bugs. | Jared Crapo | 2017-08-21 | 10 | -31/+55 | |
| | | | ||||||
| * | | Checkpoint. Many tests working, multiline seems broken | Jared Crapo | 2017-08-21 | 1 | -4/+9 | |
| | | | ||||||
| * | | Simple but working version of new regex transcript | Jared Crapo | 2017-08-21 | 1 | -1/+21 | |
| | | | | | | | | | Escapes of slashes don’t work yet. | |||||
| * | | Tweaks to some of the transcript regex tests | Jared Crapo | 2017-08-21 | 2 | -0/+7 | |
| | | | ||||||
| * | | Add lots more transcript tests | Jared Crapo | 2017-08-20 | 12 | -2/+38 | |
| | | | ||||||
| * | | parametrize transcript tests | Jared Crapo | 2017-08-20 | 1 | -56/+8 | |
| | | | ||||||
| * | | rename transcript files | Jared Crapo | 2017-08-20 | 4 | -4/+4 | |
| | | | ||||||
| * | | Move transcripts into their own directory | Jared Crapo | 2017-08-20 | 4 | -3/+3 | |
| |/ | ||||||
| * | feedback_to_output now defaults to False | Todd Leonhardt | 2017-08-20 | 4 | -18/+22 | |
| | | | | | This is so that non-essential info which isn't directly associated with command output, such as time elapsed while executing a command, won't redirect when command output is redirected using >, >>, or |. | |||||
| * | Ensure editor and the file to edit can have spaces in them | Jared Crapo | 2017-08-19 | 2 | -3/+20 | |
| | | ||||||
