Skip to main content

# 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”)

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)

Table of built distributions (wheels) for climanager 0.0.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page