{"id":27996693,"url":"https://github.com/python-cmd2/cmd2-submenu","last_synced_at":"2025-05-08T21:48:56.556Z","repository":{"id":62563013,"uuid":"132662756","full_name":"python-cmd2/cmd2-submenu","owner":"python-cmd2","description":"Submenu","archived":false,"fork":false,"pushed_at":"2018-11-18T01:58:12.000Z","size":27,"stargazers_count":1,"open_issues_count":3,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-08T21:48:49.000Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/python-cmd2.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-08T20:43:50.000Z","updated_at":"2023-09-08T17:40:16.000Z","dependencies_parsed_at":"2022-11-03T15:45:27.556Z","dependency_job_id":null,"html_url":"https://github.com/python-cmd2/cmd2-submenu","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-cmd2%2Fcmd2-submenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-cmd2%2Fcmd2-submenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-cmd2%2Fcmd2-submenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-cmd2%2Fcmd2-submenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/python-cmd2","download_url":"https://codeload.github.com/python-cmd2/cmd2-submenu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253154954,"owners_count":21862618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-08T21:48:53.326Z","updated_at":"2025-05-08T21:48:56.535Z","avatar_url":"https://github.com/python-cmd2.png","language":"Python","readme":"# cmd2-submenu\nThis project provides a submenu system for cmd2\n\n## Installing\nTo install the plugin, do:\n```\n$ pip install cmd2-submenu\n```\n\n## How to use\n\n## Running tests\n\n`cmd2` uses a three tiered testing strategy to test on multiple versions\nof python on various platforms. This plugin uses the same strategy:\n\n- [pytest](https://pytest.org) runs the unit tests\n- [tox](https://tox.readthedocs.io/) runs the unit tests on multiple versions\n  of python\n- [AppVeyor](https://www.appveyor.com/) and [TravisCI](https://travis-ci.com)\n  run the tests on the various supported platforms\n\n### Running unit tests\n\nRun `pytest` from the top level directory of this plugin to run all the\nunit tests.\n\n### Use tox to run unit tests in multiple versions of python\n\nThe included `tox.ini` is setup to run the unit tests in python 3.4, 3.5,\nand 3.6. In order for `tox` to work, you need to have different versions of\npython executables available in your path.\n[pyenv](https://github.com/pyenv/pyenv) is one method of doing this easily.\nOnce `pyenv` is installed, use it to install multiple versions of python:\n\n```\n$ pyenv install 3.4.8\n$ pyenv install 3.5.5\n$ pyenv install 3.6.5\n$ pyenv local 3.6.5 3.5.5 3.4.8\n```\n\nThis will create a `.python-version` file and instruct the `pyenv` shims\nto make `python3.6`, `python3.5`, and `python3.4` launch the appropriate\nversions of python.\n\nOnce these executables are configured, invoking `tox` will create a\nvirtual environment for each version of python, install the prerequisite\npackages, and run your unit tests.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-cmd2%2Fcmd2-submenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpython-cmd2%2Fcmd2-submenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-cmd2%2Fcmd2-submenu/lists"}