llnl / llnl/PyDV

Upgrade to cmd2

Open
#37 0 comments 0 reactions 1 assignee View on GitHub

@griffin28 is already working on this.

Since Oct 21, 2019.

enhancement Medium Priority
Dominant language
Python
Stars
15
Forks
6
PR merge metrics
No merged PRs in 30d

Description

The latest documentation for cmd2 can be read online here: https://cmd2.readthedocs.io/
Main features:
Searchable command history (history command and +r)
Text file scripting of your application with load (@) and _relative_load (@@)
Python scripting of your application with pyscript
Run shell commands with !
Pipe command output to shell commands with |
Redirect command output to file with >, >>; input from file with <
Bare >, >> with no filename send output to paste buffer (clipboard)
py enters interactive Python console (opt-in ipy for IPython console)
Multi-line commands
Special-character command shortcuts (beyond cmd’s ? and !)
Settable environment parameters
Parsing commands with arguments using argparse, including support for sub-commands
Unicode character support (Python 3 only)
Good tab-completion of commands, sub-commands, file system paths, and shell commands
Python 2.7 and 3.4+ support
Linux, macOS and Windows support
Trivial to provide built-in help for all commands
Built-in regression testing framework for your applications (transcript-based testing)
Transcripts for use with built-in regression can be automatically generated from history -t
Usable without modification anywhere cmd is used; simply import cmd2.Cmd in place of cmd.Cmd.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.