Skip to main content

# cmd2-submenu This project provides a submenu system for cmd2

## Installing To install the plugin, do: ` $ pip install cmd2-submenu `

## How to use

## Running tests

cmd2 uses a three tiered testing strategy to test on multiple versions of python on various platforms. This plugin uses the same strategy:

### Running unit tests

Run pytest from the top level directory of this plugin to run all the unit tests.

### Use tox to run unit tests in multiple versions of python

The included tox.ini is setup to run the unit tests in python 3.4, 3.5, and 3.6. In order for tox to work, you need to have different versions of python executables available in your path. [pyenv](https://github.com/pyenv/pyenv) is one method of doing this easily. Once pyenv is installed, use it to install multiple versions of python:

` $ pyenv install 3.4.8 $ pyenv install 3.5.5 $ pyenv install 3.6.5 $ pyenv local 3.6.5 3.5.5 3.4.8 `

This will create a .python-version file and instruct the pyenv shims to make python3.6, python3.5, and python3.4 launch the appropriate versions of python.

Once these executables are configured, invoking tox will create a virtual environment for each version of python, install the prerequisite packages, and run your unit tests.

Metadata

Release files for cmd2-submenu 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cmd2-submenu 0.3.0
File Size Uploaded Provenance
cmd2-submenu-0.3.0.tar.gz 11.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cmd2-submenu 0.3.0
File Interpreter ABI Platform
cmd2_submenu-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.0 kB

Release files / cmd2-submenu-0.3.0.tar.gz

Download URL cmd2-submenu-0.3.0.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f56b30cf4eecec5c4ae640183121bfa8038f32d1d23dbf10d42cebcbfadeb662
BLAKE2b-256 checksum
How to use checksums
9fb22fd992bd62d055b3906a7c14e2f6d75c21b8c9badb45568c14888625a21d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Release files / cmd2_submenu-0.3.0-py3-none-any.whl

Download URL cmd2_submenu-0.3.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38dff41573d5f264f18e07898a82fb5ed91a2507a1734b9d3a269f9ff350ce6d
BLAKE2b-256 checksum
How to use checksums
86ce71db2ce605bac1e2767bcb403cee64ca4f913319cd76d337820c95ce9123
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Security for cmd2-submenu 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page