Assist in parsing cli options and parameters
Project description
# 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”)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for climanager-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70482ea2b26cad500fde1bfa8da5d06fc0cdc62b3e0fb30204d9715b0963d54e |
|
MD5 | 10c2168fed1b7529f472e747e9825bfb |
|
BLAKE2b-256 | 5ed6df11d1e57b1c71ea9aaee03945984941e07f369ba478a818d7965d2256e5 |