GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing raw.githubusercontent.com — raw.githubusercontent.com # Contributing to bailian-cli
Developer guide for `bailian-cli` — the official CLI for Aliyun Model Studio (DashScope). For end-user usage, see [README.md](README.md).
[中文版](CONTRIBUTING.zh.md) · [README](README.md) · [Changelog](CHANGELOG.md)
## Prerequisites
- Node.js ^22.18 or >=24.11 (required for developing this repo)
- End users installing the published CLI only need Node.js >= 18.17
- pnpm 10.33.2 (`npm i -g [email protected]`)
- A DashScope API key for running e2e tests
## Repository layout
```
bailian-cli/
├── packages/
│ ├── core/ # `bailian-cli-core` — auth, config, HTTP client, errors, types
│ ├── runtime/ # `bailian-cli-runtime` — CLI framework: parsing, help, middleware, output
│ ├── commands/ # `bailian-cli-commands` — reusable command implementations
│ ├── cli/ # `bailian-cli` — the full `bl` product entry
│ ├── kscli/ # `knowledge-studio-cli` — `kscli` entry, reuses commands/
│ ├── e2e/ # Shared e2e harness utilities (private)
│ └── bailian-kb-dsh/ # `bailian-kb-dsh` — DeepSeek Harness plugin (independent version & release)
├── skills/ # Agent skills installed by `bl skill init`
├── docs/agents/ # Scenario-based maintenance guides
├── tools/ # Release automation & reference generation
├── AGENTS.md # Contract for AI agents
└── README.md
```
## Local setup
```bash
git clone https://github.com/modelstudioai/cli.git bailian-cli
cd bailian-cli
pnpm install
```
### Running the CLI from source
```bash
pnpm bl auth login --api-key sk-xxxxx
pnpm bl text chat --message "hello"
pnpm bl video generate --prompt "a cat walking"
```
## Common scripts
| Command | What it does |
| ---------------- | ------------------------------------------ |
| `pnpm bl |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |