Skip to main content

Extra features for standard library's cmd module

Project description

Enhancements for standard library’s cmd module.

Drop-in replacement adds several features for command-prompt tools:

  • Searchable command history (commands: “hi”, “li”, “run”)

  • Load commands from file, save to file, edit commands in file

  • Multi-line commands

  • Case-insensitive commands

  • Special-character shortcut commands (beyond cmd’s “@” and “!”)

  • Settable environment parameters

  • Parsing commands with flags

  • Redirection to file with >, >>; input from file with <

Useable without modification anywhere cmd is used; simply import cmd2.Cmd in place of cmd.Cmd

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cmd2-0.2.zip (9.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

cmd2-0.2.win32.exe (70.4 kB view details)

Uploaded Source

cmd2-0.2-py2.5.egg (16.9 kB view details)

Uploaded Egg

File details

Details for the file cmd2-0.2.zip.

File metadata

  • Download URL: cmd2-0.2.zip
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cmd2-0.2.zip
Algorithm Hash digest
SHA256 fd3de50135b016262a03ac14f098199633a730e783abff07d75565cdf6181d69
MD5 94c8cbe189a2b93a374259707995e9df
BLAKE2b-256 32bae21ffbc91a1bfd0cf3d457ebbd50157d677c69beb2a26dca8e0d5ff72f74

See more details on using hashes here.

File details

Details for the file cmd2-0.2.win32.exe.

File metadata

  • Download URL: cmd2-0.2.win32.exe
  • Upload date:
  • Size: 70.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cmd2-0.2.win32.exe
Algorithm Hash digest
SHA256 37b0ca657b6c6b15e01f0e670d2d41f30d0e0738955cab7307c12bf3ea555fdf
MD5 fded0fcbd24b19ae262f38e44f0620b1
BLAKE2b-256 cc22acc46f58419163756655e2ccc569bd654e2e38834b86df3551cd8e59bef2

See more details on using hashes here.

File details

Details for the file cmd2-0.2-py2.5.egg.

File metadata

  • Download URL: cmd2-0.2-py2.5.egg
  • Upload date:
  • Size: 16.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cmd2-0.2-py2.5.egg
Algorithm Hash digest
SHA256 e462373eda02496f86a280afc3a03dd08f89c117ab32af1d1f071af5e62cb3c6
MD5 e1d9ab04cf9a5af6ea98075987ec4dc3
BLAKE2b-256 642c4116ad2fe18b9ea5f04c74914cc4d77bffe1558b11334ccf1430c32e22f6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page