1. 首页
  2. 数据库
  3. 其它
  4. climates:命令行界面甚至简单易用 源码

climates:命令行界面甚至简单易用 源码

上传者: 2021-04-27 10:48:14上传 ZIP文件 9.16KB 热度 11次
气候 命令行界面甚至可以简化操作。 安装 pip install climates 用法 # Step 1: import Climate from climates import Climate , Command # Step 2: create Climate object cli = Climate ( "hello" , description = "Hello world app." ) # Step 3: ??? # Step 4: add commands to CLI cli . add ( Command ( hello )) cli . add ( Command ( bye )) # Step 5: run CLI cli . run () # Step 6: PROFIT!!! 有关详细信息,请参见example.py 。 特征 从文档字符串和类型注释生成CL
下载地址
用户评论