Skip to main content

Assist in parsing cli options and parameters

Project description

# CliMan

## 项目简介

该项目用于解析CLI命令行参数,基于argparser,采用类似单例模式

### 安装

pip install climan

### 使用

  1. 初始化

    CliMan.init(“desc…”)

  2. 添加选项或者参数

    CliMan.add_flag(“-f”, “–flag”) CliMan.add_arg(“cmd”)

  3. 解析

    CliMan.parse()

  4. 取值

    v1 = CliMan.get_str(“cmd”) v2 = CliMan.get_float(“flag”)

Project details


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

If you're not sure about the file name format, learn more about wheel file names.

climanager-0.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file climanager-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: climanager-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for climanager-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 70482ea2b26cad500fde1bfa8da5d06fc0cdc62b3e0fb30204d9715b0963d54e
MD5 10c2168fed1b7529f472e747e9825bfb
BLAKE2b-256 5ed6df11d1e57b1c71ea9aaee03945984941e07f369ba478a818d7965d2256e5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page