Skip to content
Back to skills

036 Typer 5f3c1080

ASecurity

命令行界面,基于 Typer 框架构建。

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 11, 2026
security

Works with

  • cli

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 036-typer_5f3c1080 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 036 Typer 5f3c1080?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 036 Typer 5f3c1080
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-036-typer-5f3c1080/badge)](https://www.skillsdirectory.com/skills/tools-only-036-typer-5f3c1080)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# CLI 模块

命令行界面,基于 Typer 框架构建。

## 架构

```
cli/
├── main.py          # 入口 - 组装所有命令,创建 Typer 应用
├── common.py        # 共享工具 - get_credentials, normalize_folder_token
├── cmd_export.py    # 导出命令 - export, export_wiki_space
├── cmd_write.py     # 写入命令 - create, write, update
├── cmd_apaas.py     # APaaS 命令 - export_workspace_schema
├── cmd_auth.py      # 认证命令 - auth, tui
└── cmd_config.py    # 配置命令 - config set/show/clear
```

## 命令清单

| 命令 | 模块 | 说明 |
|------|------|------|
| `export` | cmd_export | 导出单个文档为 Markdown |
| `export-wiki-space` | cmd_export | 批量导出知识空间 |
| `create` | cmd_write | 创建新文档 |
| `write` | cmd_write | 向文档追加内容 |
| `update` | cmd_write | 更新指定 Block |
| `export-workspace-schema` | cmd_apaas | 导出 APaaS 数据库结构 |
| `auth` | cmd_auth | OAuth 授权 |
| `tui` | cmd_auth | TUI 交互界面 |
| `config set/show/clear` | cmd_config | 配置管理 |

## 凭证优先级

`get_credentials()` 按以下顺序获取凭证:
1. 命令行参数 `--app-id`, `--app-secret`
2. 环境变量 `FEISHU_APP_ID`, `FEISHU_APP_SECRET`
3. 配置文件 `~/.config/feishu-docx/config.json`

[PROTOCOL]: 变更时更新此头部,然后检查 CLAUDE.md

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.