ms-cli 0.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ad_cli/__init__.py +6 -0
- ad_cli/__main__.py +6 -0
- ad_cli/auth.py +351 -0
- ad_cli/cli.py +278 -0
- ad_cli/discovery.py +243 -0
- ad_cli/dynamic.py +816 -0
- ad_cli/errors.py +45 -0
- ad_cli/http.py +424 -0
- ad_cli/invoke.py +652 -0
- ad_cli/main.py +703 -0
- cann_cli/__init__.py +6 -0
- cann_cli/__main__.py +6 -0
- cann_cli/auth.py +351 -0
- cann_cli/cli.py +278 -0
- cann_cli/discovery.py +243 -0
- cann_cli/dynamic.py +816 -0
- cann_cli/errors.py +45 -0
- cann_cli/http.py +424 -0
- cann_cli/invoke.py +652 -0
- cann_cli/main.py +703 -0
- ms_cli/__init__.py +6 -0
- ms_cli/__main__.py +6 -0
- ms_cli/auth.py +351 -0
- ms_cli/cli.py +278 -0
- ms_cli/discovery.py +243 -0
- ms_cli/dynamic.py +816 -0
- ms_cli/errors.py +45 -0
- ms_cli/http.py +424 -0
- ms_cli/invoke.py +652 -0
- ms_cli/main.py +703 -0
- ms_cli-0.2.0.dist-info/METADATA +444 -0
- ms_cli-0.2.0.dist-info/RECORD +67 -0
- ms_cli-0.2.0.dist-info/WHEEL +5 -0
- ms_cli-0.2.0.dist-info/entry_points.txt +2 -0
- ms_cli-0.2.0.dist-info/licenses/LICENSE +18 -0
- ms_cli-0.2.0.dist-info/top_level.txt +5 -0
- oed_cli/__init__.py +6 -0
- oed_cli/__main__.py +6 -0
- oed_cli/auth.py +1629 -0
- oed_cli/cli.py +297 -0
- oed_cli/defaults.toml +44 -0
- oed_cli/discovery.py +243 -0
- oed_cli/dynamic.py +816 -0
- oed_cli/errors.py +45 -0
- oed_cli/http.py +423 -0
- oed_cli/invoke.py +651 -0
- oed_cli/main.py +782 -0
- ogd_cli/__init__.py +6 -0
- ogd_cli/__main__.py +6 -0
- ogd_cli/auth.py +351 -0
- ogd_cli/cli.py +278 -0
- ogd_cli/discovery.py +243 -0
- ogd_cli/dynamic.py +816 -0
- ogd_cli/errors.py +45 -0
- ogd_cli/http.py +424 -0
- ogd_cli/invoke.py +652 -0
- ogd_cli/main.py +703 -0
- oud_cli/__init__.py +6 -0
- oud_cli/__main__.py +6 -0
- oud_cli/auth.py +351 -0
- oud_cli/cli.py +278 -0
- oud_cli/discovery.py +243 -0
- oud_cli/dynamic.py +816 -0
- oud_cli/errors.py +45 -0
- oud_cli/http.py +424 -0
- oud_cli/invoke.py +652 -0
- oud_cli/main.py +703 -0
|
@@ -0,0 +1,444 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: ms-cli
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: ms — MindSpore Infra command line. Auto-discovered, AI-friendly.
|
|
5
|
+
Author: ms-cli contributors
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://gitcode.com/openeuler/oed-cli
|
|
8
|
+
Project-URL: Documentation, https://gitcode.com/openeuler/oed-cli/blob/ms-cli/docs/cli-design.md
|
|
9
|
+
Project-URL: Bug Tracker, https://gitcode.com/openeuler/oed-cli/issues
|
|
10
|
+
Keywords: MindSpore,cli,discovery,ai-agent,openapi
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Topic :: Software Development
|
|
23
|
+
Requires-Python: >=3.10
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
License-File: LICENSE
|
|
26
|
+
Requires-Dist: click>=8.1
|
|
27
|
+
Requires-Dist: httpx>=0.27
|
|
28
|
+
Requires-Dist: keyring>=24
|
|
29
|
+
Provides-Extra: dev
|
|
30
|
+
Requires-Dist: pytest>=8.0; extra == "dev"
|
|
31
|
+
Requires-Dist: ruff>=0.5; extra == "dev"
|
|
32
|
+
Requires-Dist: build>=1.0; extra == "dev"
|
|
33
|
+
Requires-Dist: twine>=5.0; extra == "dev"
|
|
34
|
+
Provides-Extra: socks
|
|
35
|
+
Requires-Dist: socksio>=1.0; extra == "socks"
|
|
36
|
+
Provides-Extra: os-keyring-windows
|
|
37
|
+
Requires-Dist: pywin32-ctypes; sys_platform == "win32" and extra == "os-keyring-windows"
|
|
38
|
+
Provides-Extra: os-keyring-linux
|
|
39
|
+
Requires-Dist: secretstorage; sys_platform == "linux" and extra == "os-keyring-linux"
|
|
40
|
+
Provides-Extra: os-keyring
|
|
41
|
+
Requires-Dist: pywin32-ctypes; sys_platform == "win32" and extra == "os-keyring"
|
|
42
|
+
Requires-Dist: secretstorage; sys_platform == "linux" and extra == "os-keyring"
|
|
43
|
+
Dynamic: license-file
|
|
44
|
+
|
|
45
|
+
<h1 align="center">ms-cli</h1>
|
|
46
|
+
|
|
47
|
+
<p align="center">
|
|
48
|
+
<strong>One CLI for every MindSpore Infra service — auto-discovered, JSON-first, built for humans and AI agents.</strong>
|
|
49
|
+
<br />
|
|
50
|
+
<em>Works with Claude Code, Cursor, VS Code, Codex, Gemini CLI, OpenClaw, Kimi Code, Kiro, Coze, and 10+ more agent clients — plus plain old shell pipes.</em>
|
|
51
|
+
</p>
|
|
52
|
+
|
|
53
|
+
<p align="center">
|
|
54
|
+
<a href="README.md">English</a> | <a href="README_cn.md">简体中文</a>
|
|
55
|
+
</p>
|
|
56
|
+
|
|
57
|
+
<p align="center">
|
|
58
|
+
<a href="https://pypi.org/project/ms-cli/"><img src="https://img.shields.io/pypi/v/ms-cli" alt="PyPI" /></a>
|
|
59
|
+
<a href="https://www.python.org"><img src="https://img.shields.io/badge/python-3.10+-blue" alt="Python 3.10+" /></a>
|
|
60
|
+
<a href="https://gitcode.com/openeuler/oed-cli/tree/ms-cli/LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-green" alt="License: Apache-2.0" /></a>
|
|
61
|
+
<a href="#one-line-install-cli--mcp"><img src="https://img.shields.io/badge/MCP-ms--mcp-6f42c1" alt="MCP: ms-mcp" /></a>
|
|
62
|
+
<a href=".claude/skills/ms-cli/SKILL.md"><img src="https://img.shields.io/badge/Agent_Skill-bundled-0969da" alt="Agent Skill: bundled" /></a>
|
|
63
|
+
<a href="#multi-platform-support"><img src="https://img.shields.io/badge/Platforms-17%2B-orange" alt="Platforms: 17+" /></a>
|
|
64
|
+
</p>
|
|
65
|
+
|
|
66
|
+
<p align="center">
|
|
67
|
+
<a href="#multi-platform-support"><img src="https://img.shields.io/badge/Claude_Code-D97757" alt="Claude Code" /></a>
|
|
68
|
+
<a href="#multi-platform-support"><img src="https://img.shields.io/badge/Cursor-000000" alt="Cursor" /></a>
|
|
69
|
+
<a href="#multi-platform-support"><img src="https://img.shields.io/badge/Trae-7e22ce" alt="Trae" /></a>
|
|
70
|
+
<a href="#multi-platform-support"><img src="https://img.shields.io/badge/Codex-1F2937" alt="Codex" /></a>
|
|
71
|
+
<a href="#multi-platform-support"><img src="https://img.shields.io/badge/Gemini_CLI-4285F4" alt="Gemini CLI" /></a>
|
|
72
|
+
<a href="#multi-platform-support"><img src="https://img.shields.io/badge/Qwen_Code-615CED" alt="Qwen Code" /></a>
|
|
73
|
+
<a href="#multi-platform-support"><img src="https://img.shields.io/badge/dsh-24292e" alt="dsh" /></a>
|
|
74
|
+
<a href="#multi-platform-support"><img src="https://img.shields.io/badge/OpenClaw-DC2626" alt="OpenClaw" /></a>
|
|
75
|
+
<a href="#multi-platform-support"><img src="https://img.shields.io/badge/Hermes_Agent-BE185D" alt="Hermes Agent" /></a>
|
|
76
|
+
<a href="#multi-platform-support"><img src="https://img.shields.io/badge/Kimi_Code-0F766E" alt="Kimi Code" /></a>
|
|
77
|
+
<a href="#multi-platform-support"><img src="https://img.shields.io/badge/VS_Code-007ACC" alt="VS Code" /></a>
|
|
78
|
+
<a href="#multi-platform-support"><img src="https://img.shields.io/badge/Copilot_CLI-1F6FEB" alt="Copilot CLI" /></a>
|
|
79
|
+
<a href="#multi-platform-support"><img src="https://img.shields.io/badge/Antigravity-8B5CF6" alt="Antigravity" /></a>
|
|
80
|
+
<a href="#multi-platform-support"><img src="https://img.shields.io/badge/Pi-F59E0B" alt="Pi" /></a>
|
|
81
|
+
<a href="#multi-platform-support"><img src="https://img.shields.io/badge/Nanobot-10B981" alt="Nanobot" /></a>
|
|
82
|
+
<a href="#multi-platform-support"><img src="https://img.shields.io/badge/Kiro-FF9900" alt="Kiro" /></a>
|
|
83
|
+
<a href="#multi-platform-support"><img src="https://img.shields.io/badge/Coze-4D6BFE" alt="Coze" /></a>
|
|
84
|
+
</p>
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
**`ms` doesn't ship a static list of commands.** It reads the MindSpore Infra Discovery Service at runtime and builds its entire command surface dynamically. When a new service ships, `ms` picks it up automatically — no upgrade required.
|
|
89
|
+
|
|
90
|
+
## Why ms?
|
|
91
|
+
|
|
92
|
+
`ms` exists to solve one specific problem: a CLI that talks to _many evolving services_ without multiplying that complexity. Shipping a hand-written client per service per version is exactly the versioning pressure that the Zylos API versioning research warns against — and for AI agent consumers that pressure is acute: a renamed field silently breaks a tool call, a new required parameter crashes an otherwise healthy workflow. `ms` sidesteps the whole problem by being one client that **discovers every service at runtime**, so the only thing that has to be versioned is the gateway's OpenAPI spec itself.
|
|
93
|
+
|
|
94
|
+
- **Zero boilerplate.** No copy-pasted OpenAPI clients, no per-service SDKs, no `--data` to escape, no `User-Agent` headers to remember.
|
|
95
|
+
- **Runtime discovery.** The service list you see in `ms --help` is built from `https://api-gateway.osinfra.cn/discovery/apis` on every call. New services, new endpoints, and new schema fields show up without an `ms` upgrade. A 10-minute cache keeps CI bursts cheap; `ms cache refresh` forces an immediate re-fetch when you know the gateway just shipped.
|
|
96
|
+
- **AI-friendly output.** Single JSON object on stdout, deterministic exit codes (`0` success · `1` user · `2` network · `3` upstream · `4` not found). Logs and progress go to stderr so `| jq` is always safe.
|
|
97
|
+
- **Claude / Cursor ready.** Ships with `.claude/skills/ms-cli/SKILL.md` so agents know how to use it without a custom prompt.
|
|
98
|
+
- **MCP-ready.** The same three tools reach any MCP client through [`ms-mcp`](https://github.com/Hourunze1997/ms-mcp) (`npx -y ms-mcp`) — `install.sh` below wires it in one line.
|
|
99
|
+
|
|
100
|
+
## Install
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
pip install ms-cli
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Or in an isolated environment (recommended for CI):
|
|
107
|
+
|
|
108
|
+
```
|
|
109
|
+
pipx install ms-cli
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
From source:
|
|
113
|
+
|
|
114
|
+
```
|
|
115
|
+
git clone -b ms-cli https://gitcode.com/openeuler/oed-cli && cd oed-cli
|
|
116
|
+
pip install -e .
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Verify:
|
|
120
|
+
|
|
121
|
+
```
|
|
122
|
+
ms --version # → ms, version 0.1.0
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
## Quick start: install, then call
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
pip install ms-cli
|
|
129
|
+
ms services # see what the ms community exposes
|
|
130
|
+
ms mailman <operation> --help # inspect one operation's flags
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### Install the Agent Skill
|
|
134
|
+
|
|
135
|
+
Agent frameworks (Claude Code, Cursor, OpenCode, …) need the bundled [Agent Skill](.claude/skills/ms-cli/SKILL.md) installed before they call `ms` correctly — it is not part of the pip wheel. For Claude Code, copy it into the skills directory:
|
|
136
|
+
|
|
137
|
+
```
|
|
138
|
+
git clone --depth 1 -b ms-cli https://gitcode.com/openeuler/oed-cli /tmp/ms-cli \
|
|
139
|
+
&& mkdir -p ~/.claude/skills \
|
|
140
|
+
&& cp -r /tmp/ms-cli/.claude/skills/ms-cli ~/.claude/skills/
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
Other frameworks: drop it into their skill/rules directory.
|
|
144
|
+
|
|
145
|
+
### (optional) Call an AtomGit operation — store a token once
|
|
146
|
+
|
|
147
|
+
Operations on the `ag` (AtomGit) service authenticate via an `access_token` query parameter. Store a personal access token once, and every `ms ag ...` call injects it automatically:
|
|
148
|
+
|
|
149
|
+
```
|
|
150
|
+
ms ag login
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
That's it. `ms` discovers the service from the gateway, pulls its OpenAPI spec, derives `--<flag>` names from the declared parameters, fills WAF-safe browser headers, and ships the request through the production gateway. Output is plain JSON on stdout — pipe straight into `jq`:
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
ms <service> <operation> --flag value | jq '.response'
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
### Want to look around first? (optional)
|
|
160
|
+
|
|
161
|
+
```
|
|
162
|
+
ms info # gateway snapshot: services_total, cache status, community
|
|
163
|
+
ms services # full service list — pick one to call next
|
|
164
|
+
ms <service> --help # list that service's operations
|
|
165
|
+
ms <service> <operation> --help # see every flag for one operation
|
|
166
|
+
ms <service> <operation> --dry-run --… # preview the request, no network
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
The first `ms <service> <operation>` call after install will pull a fresh discovery feed + that service's OpenAPI spec; subsequent calls within 10 minutes reuse the local cache. Run `ms cache refresh` to force a re-fetch when you know the gateway just shipped something new.
|
|
170
|
+
|
|
171
|
+
## One-line install: CLI + MCP
|
|
172
|
+
|
|
173
|
+
The installer does two things: installs the `ms` CLI (pipx → uv → pip, skipped when `ms` is already on PATH), then registers the [`ms-mcp`](https://github.com/Hourunze1997/ms-mcp) MCP server with your agent client — so any MCP-capable agent can drive every MindSpore service:
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
# auto-detect the client, or pick one explicitly
|
|
177
|
+
curl -fsSL https://raw.gitcode.com/openeuler/oed-cli/raw/ms-cli/install.sh | bash
|
|
178
|
+
curl -fsSL https://raw.gitcode.com/openeuler/oed-cli/raw/ms-cli/install.sh | bash -s cursor
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
pipx is required — `ms` installs into an isolated pipx venv: the system Python stays untouched, uninstall is clean, and PEP 668 (Ubuntu 23.04+/Debian 12+ forbid installing with the system pip) doesn't apply; the script installs pipx automatically if missing.
|
|
182
|
+
|
|
183
|
+
Windows (PowerShell 5.1+ / pwsh) — `install.ps1` is a full port of `install.sh` with the same clients and flags:
|
|
184
|
+
|
|
185
|
+
```powershell
|
|
186
|
+
powershell -c "irm https://raw.gitcode.com/openeuler/oed-cli/raw/ms-cli/install.ps1 | iex"
|
|
187
|
+
# pipe-to-iex cannot take arguments — use a scriptblock to pick a client or uninstall
|
|
188
|
+
powershell -c "& ([scriptblock]::Create((irm https://raw.gitcode.com/openeuler/oed-cli/raw/ms-cli/install.ps1))) cursor"
|
|
189
|
+
powershell -c "& ([scriptblock]::Create((irm https://raw.gitcode.com/openeuler/oed-cli/raw/ms-cli/install.ps1))) -Uninstall cursor"
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
Windows differences: the MCP launch command is registered as `cmd /c "npx -y ms-mcp"` (native clients cannot spawn `npx.cmd` directly), and the CLI is installed with the `ms-cli[os-keyring-windows]` keyring backend (DPAPI / Credential Manager — needed by `ms ag login` to store tokens).
|
|
193
|
+
|
|
194
|
+
What it does:
|
|
195
|
+
|
|
196
|
+
1. Installs the `ms` CLI and verifies `ms --version`.
|
|
197
|
+
2. Registers `npx -y ms-mcp` with the chosen client — merging the client's config in place and backing it up to `<file>.ms-backup` first. Prefers each client's own CLI when available (`claude mcp add`, `openclaw mcp add`, `copilot mcp add`, `pi mcp add`, `code --add-mcp`, `dsh plugin add`, `gemini/qwen extensions install`); edits config files directly for the rest (`mcp.json` for Cursor/Trae/Kimi Code, `config.toml` for Codex, `config.yaml` for Hermes Agent, `mcp_config.json` for Antigravity, `tools.mcpServers` for Nanobot, `~/.kiro/settings/mcp.json` for Kiro).
|
|
198
|
+
3. Is idempotent and reversible: re-running is safe; `bash install.sh --uninstall <client>` removes only the `ms` entry.
|
|
199
|
+
|
|
200
|
+
No secrets are handled. The ms community services (mailman, etherpad) work anonymously; for AtomGit (`ag`) operations, run `ms ag login` yourself afterwards — see the auth section below.
|
|
201
|
+
|
|
202
|
+
## Multi-platform support
|
|
203
|
+
|
|
204
|
+
| Platform | Status | Install Method |
|
|
205
|
+
|----------|--------|----------------|
|
|
206
|
+
| Claude Code | Shell-install | `install.sh claude` · or `claude mcp add -s user ms -- npx -y ms-mcp` · or the bundled [Agent Skill](#install-the-agent-skill) |
|
|
207
|
+
| Cursor | Shell-install | `install.sh cursor` |
|
|
208
|
+
| Trae / Trae 中国版 | Shell-install | `install.sh trae` / `install.sh trae-cn` |
|
|
209
|
+
| Codex CLI | Shell-install | `install.sh codex` |
|
|
210
|
+
| Gemini CLI | Shell-install | `install.sh gemini` |
|
|
211
|
+
| Qwen Code | Native | `qwen extensions install ms-mcp` (npm channel) · or `install.sh qwen` |
|
|
212
|
+
| dsh | Shell-install | `install.sh dsh` |
|
|
213
|
+
| OpenClaw | Shell-install | `install.sh openclaw` · or `openclaw mcp add ms --command npx --arg -y --arg ms-mcp` |
|
|
214
|
+
| Hermes Agent | Shell-install | `install.sh hermes` · or add `ms` under `mcp_servers` in `~/.hermes/config.yaml` |
|
|
215
|
+
| Kimi Code CLI | Shell-install | `install.sh kimi` · or add `ms` to `mcpServers` in `~/.kimi-code/mcp.json` · or `/mcp-config` in the TUI |
|
|
216
|
+
| VS Code (Copilot Chat) | Shell-install | `install.sh vscode` · or `code --add-mcp '{"name":"mindspore","command":"npx","args":["-y","ms-mcp"]}'` |
|
|
217
|
+
| Copilot CLI | Shell-install | `install.sh copilot` · or `copilot mcp add ms -- npx -y ms-mcp` |
|
|
218
|
+
| Antigravity | Shell-install | `install.sh antigravity` (writes `~/.gemini/antigravity/mcp_config.json`) |
|
|
219
|
+
| Pi | Shell-install | `install.sh pi` · or `pi mcp add ms -- npx -y ms-mcp` |
|
|
220
|
+
| Nanobot | Shell-install | `install.sh nanobot` (writes `tools.mcpServers` in `~/.nanobot/config.json`) |
|
|
221
|
+
| Kiro CLI / IDE | Shell-install | `install.sh kiro` (writes `~/.kiro/settings/mcp.json`, shared by both) |
|
|
222
|
+
| Cline / any other MCP client | Shell-install | add `npx -y ms-mcp` to its config |
|
|
223
|
+
| Coze (cloud) | Native | Coze plugin store — search **ms** |
|
|
224
|
+
|
|
225
|
+
> **What the statuses mean** — status tokens are the same in both the English and Chinese README, not translated.
|
|
226
|
+
>
|
|
227
|
+
> - **Native** — the platform discovers and adds `ms` through its own mechanisms, no script involved: an in-app store search (Coze — plugin store, search **ms**) or an official package channel installable by name (Qwen Code — `qwen extensions install ms-mcp` pulls it from npm, which requires the `qwen-extension.json` manifest shipped in the npm package).
|
|
228
|
+
> - **Auto-discover** — the platform's catalog indexes `ms-mcp` on its own, no manual listing: an official crawler (Gemini CLI's [extension gallery](https://geminicli.com/extensions) watches the `gemini-cli-extension` GitHub topic) or an npm-crawling directory site (Glama below). No agent platform has this working for `ms` yet — Gemini CLI's gallery hasn't indexed the repo so far; once it does, Gemini CLI moves up to Auto-discover.
|
|
229
|
+
> - **Shell-install** — no catalog on the platform lists `ms` yet, so one command wires it up: `install.sh <client>`, or the equivalent manual command in the table. Gemini CLI sits here today — its native `extensions install` works fine through the script even before the gallery lists us.
|
|
230
|
+
|
|
231
|
+
MCP needs Node ≥ 18 (`npx`); the CLI needs Python ≥ 3.10. The MCP server bootstraps the `ms` CLI automatically on first use, so the client-side setup is the only step.
|
|
232
|
+
|
|
233
|
+
> **MCP directories** — where `ms-mcp` is already discoverable. Glama crawled npm on its own (true auto-discover); npm is our own publish; the rest are not listed yet:
|
|
234
|
+
|
|
235
|
+
| Directory | Listing | How it got there |
|
|
236
|
+
|----------|--------|------------------|
|
|
237
|
+
| npm | [npmjs.com/package/ms-mcp](https://www.npmjs.com/package/ms-mcp) | published by us |
|
|
238
|
+
| Glama | [glama.ai/mcp/servers/Hourunze1997/ms-mcp](https://glama.ai/mcp/servers/Hourunze1997/ms-mcp) | auto-crawled |
|
|
239
|
+
| Smithery | — | not listed yet (submission planned) |
|
|
240
|
+
| MCP Registry (official) | — | not listed yet (submission planned) |
|
|
241
|
+
| Cline marketplace | — | not listed yet (submission planned) |
|
|
242
|
+
|
|
243
|
+
From npm or either crawled directory, the install is the same one line: `npx -y ms-mcp`.
|
|
244
|
+
|
|
245
|
+
## "What flags does this operation take?" → `--help`
|
|
246
|
+
|
|
247
|
+
Don't guess. Each operation auto-derives its own flags from the OpenAPI schema:
|
|
248
|
+
|
|
249
|
+
```
|
|
250
|
+
ms <service> <operation> --help
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
```
|
|
254
|
+
{
|
|
255
|
+
"help_for": "<operation>",
|
|
256
|
+
"operation_id_raw": "<operation>",
|
|
257
|
+
"method": "GET",
|
|
258
|
+
"path": "/<service-path>/...",
|
|
259
|
+
"url": "https://apig.osinfra.cn/...",
|
|
260
|
+
"parameters": [
|
|
261
|
+
{
|
|
262
|
+
"name": "padId",
|
|
263
|
+
"in": "query",
|
|
264
|
+
"required": true,
|
|
265
|
+
"flag": "--pad-id",
|
|
266
|
+
"alt_flag": "--padId",
|
|
267
|
+
"type": "string",
|
|
268
|
+
"description": "..."
|
|
269
|
+
}
|
|
270
|
+
],
|
|
271
|
+
"usage": "ms <service> <operation> --pad-id <value> [--dry-run]"
|
|
272
|
+
}
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
Same idea at the service level — list every operation with one flag each:
|
|
276
|
+
|
|
277
|
+
```
|
|
278
|
+
ms <service> --help | jq '.operations | length'
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
## More examples
|
|
282
|
+
|
|
283
|
+
```
|
|
284
|
+
# Dry-run — preview the request without hitting the network
|
|
285
|
+
ms <service> <operation> --flag value --dry-run
|
|
286
|
+
|
|
287
|
+
# POST JSON body — fields go through --json, not --params
|
|
288
|
+
ms <service> <operation> --json '{"key":"value"}'
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
Run `ms services` to see the live ms service list (currently `mailman` and `etherpad`), then `ms <service> --help` for the operation list of each.
|
|
292
|
+
|
|
293
|
+
## AtomGit (`ag`) authentication
|
|
294
|
+
|
|
295
|
+
AtomGit operations authenticate through the `access_token` query parameter declared on their spec. Store a personal access token once, and every `ms ag ...` call uses it automatically:
|
|
296
|
+
|
|
297
|
+
```
|
|
298
|
+
# Interactive (prompts for the token, never echoes it back)
|
|
299
|
+
ms ag login
|
|
300
|
+
|
|
301
|
+
# Non-interactive — good for CI / scripts
|
|
302
|
+
ms ag login --token <pat>
|
|
303
|
+
|
|
304
|
+
# Skip validating the token against AtomGit before storing
|
|
305
|
+
ms ag login --token <pat> --no-verify
|
|
306
|
+
|
|
307
|
+
# Just report whether a token is configured (no network, no prompt)
|
|
308
|
+
ms ag login --status
|
|
309
|
+
|
|
310
|
+
# Forget the stored token
|
|
311
|
+
ms ag logout
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
Token storage:
|
|
315
|
+
|
|
316
|
+
- macOS Keychain / Windows DPAPI / Linux SecretService when an OS keystore is reachable, otherwise a 0600 plaintext fallback file.
|
|
317
|
+
- Lives under a `tokens/` subdir of the cache dir (`tokens/ag.json` when keyring is unavailable); `ms cache clear` never touches credentials.
|
|
318
|
+
|
|
319
|
+
Auto-injection on real calls:
|
|
320
|
+
|
|
321
|
+
- If the operation declares `access_token` and you don't pass one, the stored token is filled in automatically — `ms ag listAuthenticatedUserIssues` just works.
|
|
322
|
+
- An explicit `--access-token <pat>` always wins over the stored one.
|
|
323
|
+
- If the operation requires a token and none is available anywhere, you get a clear `ag_token_missing` error with a hint, instead of an opaque gateway 401.
|
|
324
|
+
- `--dry-run` and request echo views mask the token as `<stored>` — the real value only ever goes out on the wire.
|
|
325
|
+
|
|
326
|
+
## Local development
|
|
327
|
+
|
|
328
|
+
### Clone and install (editable)
|
|
329
|
+
|
|
330
|
+
```
|
|
331
|
+
git clone -b ms-cli https://gitcode.com/openeuler/oed-cli && cd oed-cli
|
|
332
|
+
pip install -e ".[dev]"
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
`pip install -e .` makes source edits take effect on the next `ms` invocation. Drop it with `pip uninstall ms-cli` when you're done.
|
|
336
|
+
|
|
337
|
+
### Run the tests (~0.3 s, fully offline)
|
|
338
|
+
|
|
339
|
+
```
|
|
340
|
+
python -m pytest -q
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
The suite covers dispatch, the operation-help cheatsheet, per-parameter flag coercion, the `API_`-prefix alias, the `resolve_runtime_gateway` no-fallback semantics, every exit code path, and the `ag` token store + auto-injection. Tests monkeypatch the discovery layer so no gateway access is needed.
|
|
344
|
+
|
|
345
|
+
### Smoke-test against the live gateway
|
|
346
|
+
|
|
347
|
+
```
|
|
348
|
+
# 1) Health check — ms community currently exposes mailman + etherpad
|
|
349
|
+
ms info
|
|
350
|
+
# → {"ok": true, "community": "mindspore", ...}
|
|
351
|
+
|
|
352
|
+
# 2) Service list
|
|
353
|
+
ms services
|
|
354
|
+
|
|
355
|
+
# 3) Dry-run to inspect URL + body without hitting the network
|
|
356
|
+
ms <service> <operation> --dry-run --flag value
|
|
357
|
+
|
|
358
|
+
# 4) Verify the canonical URL routing
|
|
359
|
+
ms <service> <operation> --dry-run --flag value | jq '.url'
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
### Cache debugging
|
|
363
|
+
|
|
364
|
+
```
|
|
365
|
+
ms cache show # path, size, age, TTL
|
|
366
|
+
ms cache refresh # force re-fetch the discovery feed
|
|
367
|
+
ms cache clear # delete the cache file
|
|
368
|
+
```
|
|
369
|
+
|
|
370
|
+
Cache lives at `~/.cache/ms-cli/` (XDG) or `C:\Users\<you>\AppData\Local\ms-cli\cache\` on Windows. Override with `MS_CACHE_DIR=...`. Per-service OpenAPI specs are cached next to it under `specs/<community>/<service>.json` with the same 10-minute TTL. AtomGit token fallback files live under the same `MS_CACHE_DIR` in a `tokens/` subdir.
|
|
371
|
+
|
|
372
|
+
### Keeping in sync with the gateway
|
|
373
|
+
|
|
374
|
+
`ms` does **not** warm up a fresh discovery feed on every invocation — only the first command in a 10-minute window actually hits the gateway, the rest read from `~/.cache/ms-cli/discovery.json`. That keeps CI scripts that run dozens of `ms` calls from hammering the gateway, and it means `ms --help` and `ms --version` never touch the network.
|
|
375
|
+
|
|
376
|
+
When the gateway adds a new service or operation, refresh the cache by hand:
|
|
377
|
+
|
|
378
|
+
```
|
|
379
|
+
# Fastest: drop the 10-minute TTL and re-pull the discovery feed
|
|
380
|
+
ms cache refresh
|
|
381
|
+
|
|
382
|
+
# Or, nuke and re-fetch from a known-clean state
|
|
383
|
+
ms cache clear && ms info
|
|
384
|
+
|
|
385
|
+
# Then confirm the new service is now visible
|
|
386
|
+
ms services | jq -r '.[] | .service_name'
|
|
387
|
+
```
|
|
388
|
+
|
|
389
|
+
The first call to a brand-new service will additionally pull its OpenAPI spec into `specs/<community>/<service>.json` (also 10-minute TTL); after that it's reused like any other spec.
|
|
390
|
+
|
|
391
|
+
**Why this isn't automatic.** MindSpore Infra services are added on a weekly-to-quarterly cadence via review, not minute-to-minute. Auto-refreshing on every `ms` invocation would burn a network round-trip per CLI call for no practical benefit. The TTL exists to absorb CI bursts, not to delay visibility of new endpoints.
|
|
392
|
+
|
|
393
|
+
**Future** — `ms whatsnew` (planned) will diff the freshly-pulled feed against the previous cache and print only what changed, so you don't have to eyeball `ms services` output every week.
|
|
394
|
+
|
|
395
|
+
**Cache integrity.** The local cache is plain JSON and lives in a user-writable directory, so a malicious same-user process can in principle rewrite it. `ms` applies three defenses (issue #22): (1) a cached timestamp more than ~5 min in the future is treated as poisoned and discarded — this closes the "set the timestamp ahead so the entry never expires" trick; (2) a runtime `base_url` whose scheme is anything other than `https` (e.g. a poisoned `http://evil.com`) is hard-rejected before any credentials are attached, so a tampered host can't exfiltrate your Bearer token / `ag` PAT over plaintext; (3) cache writes are atomic (tmp + replace) so a crash mid-write can't leave a corrupt file. If you ever see `insecure_base_url`, run `ms cache clear` and retry. Note this is defense-in-depth — a same-user process that can write the cache can typically also read your keyring directly.
|
|
396
|
+
|
|
397
|
+
### Common errors
|
|
398
|
+
|
|
399
|
+
| Symptom | Cause | Fix |
|
|
400
|
+
| --- | --- | --- |
|
|
401
|
+
| `ModuleNotFoundError: ms_cli` | not installed in env | `pip install -e .` |
|
|
402
|
+
| `ms info` hangs or `waf_block` exit 2 | gateway unreachable / WAF | confirm `curl https://api-gateway.osinfra.cn`; see `context/discoverAPI.md` §6 |
|
|
403
|
+
| Chinese output garbled on Windows | console codepage not UTF-8 | `chcp 65001`, or pipe `| python`, or `PYTHONIOENCODING=utf-8 ms …` |
|
|
404
|
+
| `error="spec_missing"` (exit 4) on a known service | upstream hasn't published the spec yet | wait for the gateway-side OpenAPI yaml; nothing to do on the ms side |
|
|
405
|
+
| `error="body_fields_via_params"` (exit 1) on a POST | body fields were passed via `--params` (which only covers query/path) | resend the fields with `--json '{...}'` — `ms <service> <op> --help` lists the body schema |
|
|
406
|
+
| `error="ag_token_missing"` on an `ag` call | operation needs a token, none stored | `ms ag login` (or pass `--access-token <pat>`) |
|
|
407
|
+
|
|
408
|
+
### Offline mode
|
|
409
|
+
|
|
410
|
+
`ms --help`, `ms info` (uses cached feed), `pytest`, and any command against a service whose spec is in the local cache all work without network. To run `ms` from source without installing:
|
|
411
|
+
|
|
412
|
+
```
|
|
413
|
+
python -m ms_cli --help
|
|
414
|
+
# or
|
|
415
|
+
python -c "from ms_cli.main import main; sys.argv = ['mindspore','--help']; main()"
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
## Documentation
|
|
419
|
+
|
|
420
|
+
- Design doc — architecture, command contract, exit codes, packaging, roadmap.
|
|
421
|
+
- Local testing guide — install, smoke test, every per-parameter flag demo.
|
|
422
|
+
- Discovery API reference — the data source `ms` consumes, plus WAF caveats.
|
|
423
|
+
|
|
424
|
+
## Contributing
|
|
425
|
+
|
|
426
|
+
Issues and patches welcome on [gitcode.com/openeuler/oed-cli](https://gitcode.com/openeuler/oed-cli).
|
|
427
|
+
|
|
428
|
+
Dev install:
|
|
429
|
+
|
|
430
|
+
```
|
|
431
|
+
pip install -e ".[dev]"
|
|
432
|
+
pytest
|
|
433
|
+
ruff check src tests
|
|
434
|
+
```
|
|
435
|
+
|
|
436
|
+
## License
|
|
437
|
+
|
|
438
|
+
Apache-2.0. See [LICENSE](https://gitcode.com/openeuler/oed-cli/tree/ms-cli/LICENSE).
|
|
439
|
+
|
|
440
|
+
---
|
|
441
|
+
|
|
442
|
+
<p align="center">
|
|
443
|
+
<strong>One client. Every MindSpore service. Humans and agents alike.</strong>
|
|
444
|
+
</p>
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
ad_cli/__init__.py,sha256=aBEdXvuS87iF8R8o7GQ0Kk_-VaAKb2XVmchDaYasqOQ,159
|
|
2
|
+
ad_cli/__main__.py,sha256=ZGYfmtlkgyWDgMF-KLHy7-HeZCYGIM7Gl2bBUyTl_d8,138
|
|
3
|
+
ad_cli/auth.py,sha256=9iZLfv4cxoqk7CdNJ_PEnGXIiZreMGGBBV1br3NbDKo,13925
|
|
4
|
+
ad_cli/cli.py,sha256=x3aMf2j504eriznuRDk2aIPXb_rUkQ2v_xXdg-09G9A,8670
|
|
5
|
+
ad_cli/discovery.py,sha256=CALbDEOs_c7aM0yfBuYNoPfCwDgqw_Z9D8TsqNvBdv8,9077
|
|
6
|
+
ad_cli/dynamic.py,sha256=2vziYSO7x-xPJsatmso5jSrKHE27inwjBNLb7vg-OLI,31163
|
|
7
|
+
ad_cli/errors.py,sha256=g9KmIN4ezxSN6OqRp0oGoGNHP3BN-fusLbnCcn_VI6M,1012
|
|
8
|
+
ad_cli/http.py,sha256=qDBXAdxEHyKxOAHomVI5C1gZTDTHAirFmZAJFAb50jY,16786
|
|
9
|
+
ad_cli/invoke.py,sha256=nWtG0fqaVwq9WRXNA1V9ASf5yOW-2dN_BVDQCjoxWu0,25561
|
|
10
|
+
ad_cli/main.py,sha256=M5EbO1iLZVwMyh26e8c0hU6ImT8NlDHjCKFgX1OJ9UM,23690
|
|
11
|
+
cann_cli/__init__.py,sha256=zSZgrHh70qvqZz01bpuy1QwPeeyB4TyJ04YYfzH9Qqc,159
|
|
12
|
+
cann_cli/__main__.py,sha256=c9VHn_CnBsxX70K5RpVDldhlsRp8i58sDlkA-LYfp-g,144
|
|
13
|
+
cann_cli/auth.py,sha256=viIjv42ctCPA16Iq6lBIWrsuxBeMfhFi4ItvVN_fH8A,13963
|
|
14
|
+
cann_cli/cli.py,sha256=lJNXeaC0SSrQTZYul2fyGcHe1Bu6Di_QnVNmlDe1DOo,8704
|
|
15
|
+
cann_cli/discovery.py,sha256=GwVlZJ2cn95AjVAus0V8SgnSbpEpvCumvDQXoGfIncY,9105
|
|
16
|
+
cann_cli/dynamic.py,sha256=0x3gcuWit7m9z4Ew5LxC99-LOknJtDblkk9xHkoyUvg,31189
|
|
17
|
+
cann_cli/errors.py,sha256=aLp5EjSXTW85nEBA1IWYEjNoIznRlGk9AU31-A-AnI0,1016
|
|
18
|
+
cann_cli/http.py,sha256=a6g6atEChRYJssPymUqsFFxiH9AdwPh7RU-CSSm4hy4,16818
|
|
19
|
+
cann_cli/invoke.py,sha256=vdH-nJHDfm1jSSz9CoxT1quvC6G_RAzFb5WmeeJlNHM,25615
|
|
20
|
+
cann_cli/main.py,sha256=njAFcXZG2dHLBJOan-Lk-yJNP-qSq9ocNvaYhHYYqLE,23766
|
|
21
|
+
ms_cli/__init__.py,sha256=R33PAHtYeGdDI7jr7_0vl3gO1dMrO4m8VP3VhTXWvZQ,162
|
|
22
|
+
ms_cli/__main__.py,sha256=saTUBJRz_gZnCbKDA3PjS4IwCgfL9bU52asjjJNU2jo,138
|
|
23
|
+
ms_cli/auth.py,sha256=bU1XLCQwlbdY8iBveX6D8M_zI45BCzKS2Rc_eloELNw,13928
|
|
24
|
+
ms_cli/cli.py,sha256=mHmxkjZu-whURmV9m5ag0RJkEC5g7pldQwIvzeBtQLY,8682
|
|
25
|
+
ms_cli/discovery.py,sha256=k1yk1Ac_D1KDN2jAlIHTFDb9XukV_Gl4PLsrbjn76GE,9080
|
|
26
|
+
ms_cli/dynamic.py,sha256=ndhAGmjlLWDDNmVqVW2CG6JDE-aJhpU43YjndtPXt_s,31163
|
|
27
|
+
ms_cli/errors.py,sha256=EGmEjrA9qqryQGo2jG39G6-_ATqSNnAJrnIdwnPdB-A,1012
|
|
28
|
+
ms_cli/http.py,sha256=U3evfKnu1ZVkOQ3s3JzyZj6je1WtVDkuaythmU7O3M0,16792
|
|
29
|
+
ms_cli/invoke.py,sha256=4feu9pbhW3BB3tuo3aveqQU3Q5iGhWbHTaVcduNHTWo,25561
|
|
30
|
+
ms_cli/main.py,sha256=knCRVWIB5PcDyy9IZVMETJbukLB8--epej8EACE4j4I,23688
|
|
31
|
+
ms_cli-0.2.0.dist-info/licenses/LICENSE,sha256=Vxd4zxk4nxk3NSsMSdJR7wz_ORD_JD6yt2lHnZQjW8k,803
|
|
32
|
+
oed_cli/__init__.py,sha256=LYlpJvmnsm5k0tXOcEwSQovo-CvU48trHq4siNyfJc0,163
|
|
33
|
+
oed_cli/__main__.py,sha256=rPyRAU2gO46d_J15i69MYddkxGCCHQ_4ZncrMQVlpnA,141
|
|
34
|
+
oed_cli/auth.py,sha256=lFigCpS4tZHWmU3lAymW2isfsBMWiO1awk2OeTjv2N8,59818
|
|
35
|
+
oed_cli/cli.py,sha256=L2xxvptbklQ4bQV9S4mAJqmOLp_sjypPcMV9VqqDeks,9125
|
|
36
|
+
oed_cli/defaults.toml,sha256=M0aNeXd2knt1tFygRSjXNZLcROYzusqHqFnwsJvAAUA,2278
|
|
37
|
+
oed_cli/discovery.py,sha256=jipSREkD-DREa9XVYpBC7twopyP-bJBn6wgg_Tz2jqw,9095
|
|
38
|
+
oed_cli/dynamic.py,sha256=iXf6mNJ51sIrd7Da6UDY_sXcHiOWl_KMUIhKJoN4huo,31176
|
|
39
|
+
oed_cli/errors.py,sha256=VrwGTcjxIH_tYALHxDipWix4ZhiEK6Tj2HiN3CPAWdY,1014
|
|
40
|
+
oed_cli/http.py,sha256=5THC2KwMk9lGlNB2aNX6l0Q6jb085XAWtZhN7H8MyHg,16832
|
|
41
|
+
oed_cli/invoke.py,sha256=dFkm_2VQFvlet1BKdWT80bgjjl9wCopAXdV2KlOzono,25413
|
|
42
|
+
oed_cli/main.py,sha256=KcfVstli0GcVQvVChYq3awMdjTHq5xO-cEpVAEok8EY,26853
|
|
43
|
+
ogd_cli/__init__.py,sha256=Oxkly6PCM75nAJzmkBDiCoDhreOH4NoJw56ZQcknnTM,163
|
|
44
|
+
ogd_cli/__main__.py,sha256=Opc8LRm660uyC5i4dBI1_iKfVzFEco9EjmisceBFcpQ,141
|
|
45
|
+
ogd_cli/auth.py,sha256=CM19D0sxyz42LQyHPTul8f7i2Ewmccv0gcviDgsPY3U,13948
|
|
46
|
+
ogd_cli/cli.py,sha256=Tlf6TGrjF7rS3hV9jy50zTeo7XUJrVis1PU74VZX0WM,8691
|
|
47
|
+
ogd_cli/discovery.py,sha256=PSBFmAqRVOW3Wtsp4j8OYEgK4ozFTgLFbXA7RqaMp0I,9095
|
|
48
|
+
ogd_cli/dynamic.py,sha256=2FDmngf6Z0p0Q5T8XK4tsgzCp0LPIyOIuzo5E2JP5WY,31176
|
|
49
|
+
ogd_cli/errors.py,sha256=Ga8MOr7SMWR6TROfNlXl29g1xmnpp88c0r9q6ZQWmK8,1014
|
|
50
|
+
ogd_cli/http.py,sha256=uvgPA3B30haSjbMx7DjRABjufcOBqfDssLEavLMchzY,16810
|
|
51
|
+
ogd_cli/invoke.py,sha256=HhyAxHidtFfov8uGjiFKKZ56hXY00hCYCi_gWJ67GUw,25588
|
|
52
|
+
ogd_cli/main.py,sha256=Dc2FCgpfShqDaUOZfVjHW3G4xUsuht_-KLwcCAd4Khc,23729
|
|
53
|
+
oud_cli/__init__.py,sha256=nf4FPalSIMqerJ_z9TPC-s5dKXnUF5aMstVNnt1FoLY,162
|
|
54
|
+
oud_cli/__main__.py,sha256=mkML0zGfDRF3cQjg3-muYUEqaldICQyVlPIGU8rOWtk,141
|
|
55
|
+
oud_cli/auth.py,sha256=bMYlPYJlGiAdmXg9mI3VWRKDV7zB7SB9fIEe7Pz2E3M,13947
|
|
56
|
+
oud_cli/cli.py,sha256=wQaK7vTck-1WO_r1WNa5_NkvBHqNRdek-UKJWTZEiJ8,8690
|
|
57
|
+
oud_cli/discovery.py,sha256=byLoj9tW0xU-iWrKhaQqgwm-QlGbBLMburudrAMEnxE,9094
|
|
58
|
+
oud_cli/dynamic.py,sha256=1olC9Xu2czaV2l58Cg5IbRpNS4NFfIJtJBj3xlU19v4,31176
|
|
59
|
+
oud_cli/errors.py,sha256=jdjmvZgm8mN1nQ8NYj7m_28HgzrC2KlirknLy546i_w,1014
|
|
60
|
+
oud_cli/http.py,sha256=mLl5CsnGx5JXSOpAz7kgzvPAIThS8AqF7uGo87vUI8U,16808
|
|
61
|
+
oud_cli/invoke.py,sha256=VFqyAh8KMTza1Db1Fxubzd9VnRfEQbzQwsM6jFTgksk,25588
|
|
62
|
+
oud_cli/main.py,sha256=xv9QHWcreuFDyzfngPXkiFskkbjq9xnO3xwen7x4IBk,23727
|
|
63
|
+
ms_cli-0.2.0.dist-info/METADATA,sha256=NMjzrNbTUpUpKltNowth9udujxOvIY1Ks0mwM3xJ0A8,24373
|
|
64
|
+
ms_cli-0.2.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
65
|
+
ms_cli-0.2.0.dist-info/entry_points.txt,sha256=Y7QupelwqtHqP81rxO4Q7XQLGqy1MCInvih1m_6JxR4,40
|
|
66
|
+
ms_cli-0.2.0.dist-info/top_level.txt,sha256=kZ5lQTqvRne_0LWWpBBlAJn5kwelBec4J80pPJ9KjUA,38
|
|
67
|
+
ms_cli-0.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
Copyright 2026 oed-cli contributors
|
|
6
|
+
Copyright 2026 ogd-cli contributors (ogd-cli fork)
|
|
7
|
+
|
|
8
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
you may not use this file except in compliance with the License.
|
|
10
|
+
You may obtain a copy of the License at
|
|
11
|
+
|
|
12
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
|
|
14
|
+
Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
See the License for the specific language governing permissions and
|
|
18
|
+
limitations under the License.
|
oed_cli/__init__.py
ADDED