diff options
| author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-09-22 15:48:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-22 15:48:23 -0400 |
| commit | b49ec49efa5fe8c87f4447d4f821c41ff9a20325 (patch) | |
| tree | 183b8d633867ac441934a657b76148da5bbc83a5 /tests/scripts | |
| parent | 7530674e171a57adc599740fb68eeac0313ee2ae (diff) | |
| parent | 532bb1c185896e3564f858057517bbbd408dc0cb (diff) | |
| download | cmd2-git-b49ec49efa5fe8c87f4447d4f821c41ff9a20325.tar.gz | |
Merge pull request #227 from alevy03/support-load-in-onecmd_plus_hooks
Provide method to run multiple commands w/o a cmdloop.
Diffstat (limited to 'tests/scripts')
| -rw-r--r-- | tests/scripts/nested.txt | 4 | ||||
| -rw-r--r-- | tests/scripts/postcmds.txt | 2 | ||||
| -rw-r--r-- | tests/scripts/precmds.txt | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/tests/scripts/nested.txt b/tests/scripts/nested.txt new file mode 100644 index 00000000..ac3b4748 --- /dev/null +++ b/tests/scripts/nested.txt @@ -0,0 +1,4 @@ +_relative_load precmds.txt +help +shortcuts +_relative_load postcmds.txt diff --git a/tests/scripts/postcmds.txt b/tests/scripts/postcmds.txt new file mode 100644 index 00000000..760bcdf5 --- /dev/null +++ b/tests/scripts/postcmds.txt @@ -0,0 +1,2 @@ +set abbrev off +set colors off diff --git a/tests/scripts/precmds.txt b/tests/scripts/precmds.txt new file mode 100644 index 00000000..d8857e92 --- /dev/null +++ b/tests/scripts/precmds.txt @@ -0,0 +1,2 @@ +set abbrev on +set colors on |
