{ "info": { "author": "Clark Perkins", "author_email": "r.clark.perkins@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: User Interfaces", "Topic :: System :: Shells", "Topic :: Utilities" ], "description": "click-shell\n===========\n\n|TravisCI| |DocsStatus|\n\nclick-shell is an extension to `click`_ that easily turns your click app into a shell utility.\nIt is built on top of the built in python `cmd`_ module, with modifications to make it work with click.\n\n\nFeatures\n--------\n\n* Adds a \"shell\" mode **with command completion** to any click app\n* Just a one line change for most click apps\n\n\nUsage\n-----\n\nSimply replace ``@click.group`` with ``@click_shell.shell`` on the root level command:\n\n\n.. code-block:: python\n\n from click_shell import shell\n\n # @click.group() # no longer\n @shell(prompt='my-app > ', intro='Starting my app...')\n def my_app():\n pass\n\n @my_app.command()\n def the_command():\n print 'the_command is running'\n\n ...\n\n\nWhen run, you should expect an output like so:\n\n.. code-block:: bash\n\n $ python my_app.py\n Starting my app...\n my-app >\n\n\n.. note::\n\n It should be noted that this decorator **only** alters functionality if no arguments are\n passed on the command line. If you try to run a command directly\n (like ``python my_app.py the_command`` in the above example), your app will function\n identically to how it did before.\n\n\nFor more advanced usage, check out our docs at http://click-shell.readthedocs.org/\n\n.. _click: http://click.pocoo.org/\n.. _cmd: https://docs.python.org/2/library/cmd.html\n\n.. |TravisCI| image:: https://travis-ci.org/clarkperkins/click-shell.svg?branch=master\n :target: https://travis-ci.org/clarkperkins/click-shell\n :alt: Build status\n\n.. |DocsStatus| image:: https://readthedocs.org/projects/click-shell/badge/?version=latest\n :target: http://click-shell.readthedocs.org/en/latest/?badge=latest\n :alt: Documentation Status\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/clarkperkins/click-shell", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "click-shell", "package_url": "https://pypi.org/project/click-shell/", "platform": "", "project_url": "https://pypi.org/project/click-shell/", "project_urls": { "Homepage": "https://github.com/clarkperkins/click-shell" }, "release_url": "https://pypi.org/project/click-shell/1.0/", "requires_dist": [ "click (>=6.0)", "gnureadline; extra == 'readline'", "coveralls; extra == 'testing'", "pep8; extra == 'testing'", "pylint (>=1.5,<1.6); extra == 'testing'", "pytest (<2.9,>=2.8); extra == 'testing'", "pytest-cov (>=2.2,<2.3); extra == 'testing'", "pyreadline; extra == 'windows'" ], "requires_python": "", "summary": "An extension to click that easily turns your click app into a shell utility", "version": "1.0" }, "last_serial": 2488880, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "055965bf40f2ce267569b1f74606e0f7", "sha256": "35599e322f6d010dbe043e840feb6941b07f6f9ebad0a2f200abbe3c185ae376" }, "downloads": -1, "filename": "click_shell-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "055965bf40f2ce267569b1f74606e0f7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8878, "upload_time": "2015-12-15T05:04:04", "url": "https://files.pythonhosted.org/packages/0b/c7/d5c1f17fb53214bb81f616a4859abc0bc4b13900ec7692bc1f8b3dd9f28b/click_shell-0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "efe9f7ea6d703287266a895049f5fbcf", "sha256": "91086030f348237a17c6f9b34566091073dd768b5ac8b8950dafc69e26dccd39" }, "downloads": -1, "filename": "click-shell-0.1.tar.gz", "has_sig": false, "md5_digest": "efe9f7ea6d703287266a895049f5fbcf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6132, "upload_time": "2016-01-29T22:46:51", "url": "https://files.pythonhosted.org/packages/95/c3/3b7d21021ecf882cacfc2dd95661fee05341b2a963624cf556e0677f08e6/click-shell-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "0442951367a9293e1084a37071951bab", "sha256": "10cc099cea485adcc8994bcddfbd32362446a2447887b265554778fa4ab2654d" }, "downloads": -1, "filename": "click_shell-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0442951367a9293e1084a37071951bab", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9066, "upload_time": "2016-01-10T04:19:00", "url": "https://files.pythonhosted.org/packages/c7/d3/1cbcd1f601c49218f927d2fc53bbe5e95c2921904668594faa3f44f08e66/click_shell-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d647bda94a4c83a69a34a4221d7677a8", "sha256": "c44fd9eac03c17b781322489d6ba6f713e05fd0f14408a1ed6210acaccbc8f42" }, "downloads": -1, "filename": "click-shell-0.2.tar.gz", "has_sig": false, "md5_digest": "d647bda94a4c83a69a34a4221d7677a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6319, "upload_time": "2016-01-29T22:47:00", "url": "https://files.pythonhosted.org/packages/58/cd/a1719e9d29ce3a133c1e45b12d0c11c64cceae25f485754574f2703623b9/click-shell-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "4efb8edc794de3699b0abf80f2336295", "sha256": "64947a99ca347e9fbdd93bc8a4ed699b08640a27fbefe53d4b1fdd41e38e6efe" }, "downloads": -1, "filename": "click_shell-0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4efb8edc794de3699b0abf80f2336295", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9001, "upload_time": "2016-01-13T22:44:52", "url": "https://files.pythonhosted.org/packages/c8/d1/c76a3da60303be0cdca23e866ee47b74a02a98498707cbdee73bf5649fde/click_shell-0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "763bc1204aeac8b9a1726a204254b74e", "sha256": "b20ccc1c596d8aa67fd5b0a741a8275f6a59349d3de11b4a0a765211590f0409" }, "downloads": -1, "filename": "click-shell-0.3.tar.gz", "has_sig": false, "md5_digest": "763bc1204aeac8b9a1726a204254b74e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6265, "upload_time": "2016-01-29T22:47:12", "url": "https://files.pythonhosted.org/packages/6e/84/cc8c9bad40d02aee8263e402b5640cccc036fd9e521be7c447a4fb2ec34b/click-shell-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "6a30f421d3e96bcd20c5e6ea0dc17f74", "sha256": "e31e6c64ae3bd54dbbd3b1fbf75b8bd9bfef7b867d128ab0368accb60b915bc2" }, "downloads": -1, "filename": "click_shell-0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6a30f421d3e96bcd20c5e6ea0dc17f74", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9137, "upload_time": "2016-01-22T22:55:28", "url": "https://files.pythonhosted.org/packages/22/fe/e7336ea762b4aea06411f105a69b123a8af7357c6fa957c8d95443a4d2fc/click_shell-0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a6a342ba2b949b68414694b37a970f8b", "sha256": "075f7af1489260e94dbcd0d03f383a459cc420462fd847f67f237d9e8bf0318e" }, "downloads": -1, "filename": "click-shell-0.4.tar.gz", "has_sig": false, "md5_digest": "a6a342ba2b949b68414694b37a970f8b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6389, "upload_time": "2016-01-29T22:47:28", "url": "https://files.pythonhosted.org/packages/b3/b2/bc72a44b52e604d196b60c9a6fbdf484bb4f6f17b5a6a4267179fe8d06ad/click-shell-0.4.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "a35a123332ad855cf2059eecfd37fcc2", "sha256": "5cbb8b0ef68453e460865fc8c27aee30cd75a3c4f11fc77935e43ba33072139e" }, "downloads": -1, "filename": "click_shell-1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a35a123332ad855cf2059eecfd37fcc2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10361, "upload_time": "2016-11-29T03:20:24", "url": "https://files.pythonhosted.org/packages/7e/d8/199a80954f8a60282b8918d3e632c1810987c8afd74790c1d7141015cedf/click_shell-1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6db19f782599d69a864baa29913afe30", "sha256": "371f2366f54edfcd5d6c9500bacbd651a351fdeaf5b7fba8ff89691785ced54c" }, "downloads": -1, "filename": "click-shell-1.0.tar.gz", "has_sig": false, "md5_digest": "6db19f782599d69a864baa29913afe30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7223, "upload_time": "2016-11-29T03:20:27", "url": "https://files.pythonhosted.org/packages/05/41/fd7d054f936f1868016d0c0ab4d134d007c375e44620b31a29efef15b146/click-shell-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a35a123332ad855cf2059eecfd37fcc2", "sha256": "5cbb8b0ef68453e460865fc8c27aee30cd75a3c4f11fc77935e43ba33072139e" }, "downloads": -1, "filename": "click_shell-1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a35a123332ad855cf2059eecfd37fcc2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10361, "upload_time": "2016-11-29T03:20:24", "url": "https://files.pythonhosted.org/packages/7e/d8/199a80954f8a60282b8918d3e632c1810987c8afd74790c1d7141015cedf/click_shell-1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6db19f782599d69a864baa29913afe30", "sha256": "371f2366f54edfcd5d6c9500bacbd651a351fdeaf5b7fba8ff89691785ced54c" }, "downloads": -1, "filename": "click-shell-1.0.tar.gz", "has_sig": false, "md5_digest": "6db19f782599d69a864baa29913afe30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7223, "upload_time": "2016-11-29T03:20:27", "url": "https://files.pythonhosted.org/packages/05/41/fd7d054f936f1868016d0c0ab4d134d007c375e44620b31a29efef15b146/click-shell-1.0.tar.gz" } ] }