# CliMan
## 项目简介
该项目用于解析CLI命令行参数,基于argparser,采用类似单例模式
### 安装
pip install climan
### 使用
初始化
CliMan.init(“desc…”)
添加选项或者参数
CliMan.add_flag(“-f”, “–flag”) CliMan.add_arg(“cmd”)
解析
CliMan.parse()
取值
v1 = CliMan.get_str(“cmd”) v2 = CliMan.get_float(“flag”)
Release files for climanager 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| climanager-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / climanager-0.0.1-py3-none-any.whl
| Download URL | climanager-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70482ea2b26cad500fde1bfa8da5d06fc0cdc62b3e0fb30204d9715b0963d54e
|
|
BLAKE2b-256 checksum How to use checksums |
5ed6df11d1e57b1c71ea9aaee03945984941e07f369ba478a818d7965d2256e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.8
|