Skip to main content

快速构建自己的命令行工具包。 Quickly develop your command line interface(CLI) toolkit.

Project description


likeshell 快速构建自己的命令行工具,扩展性强、可配置、开箱即用。


Python >= 3.6



$ pip install likeshell



import likeshell

class MyTasks(likeshell.Shell):
    def test(self, s1: str, i1: int, f1: float):
        print(f's1 is {s1}')
        print(f'i1 is {i1}')
        print(f'f1 is {f1}')
>> python test str1 100 10.01
<< s1 is str1
<< i1 is 100
<< f1 is 10.01

Project details

Download files

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

Files for likeshell, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size likeshell-0.0.2-py3-none-any.whl (8.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size likeshell-0.0.2.tar.gz (7.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page