Initial commit: OneOS frontend based on yudao-ui-admin-vben
Some checks failed
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (ubuntu-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / CI OK (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Deploy Website on push / Deploy Push Playground Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Docs Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Antd Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Element Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Naive Ftp (push) Has been cancelled
Deploy Website on push / Rerun on failure (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled

This commit is contained in:
k kfluous
2026-03-11 22:18:23 +08:00
commit 2650d1cdf0
5166 changed files with 641242 additions and 0 deletions

View File

@@ -0,0 +1,106 @@
---
outline: deep
---
# CLI
In the project, some command-line tools are provided for common operations, located in `scripts`.
## vsh
Used for some project operations, such as cleaning the project, checking the project, etc.
### Usage
```bash
pnpm vsh [command] [options]
```
### vsh check-circular
Check for circular references throughout the project. If there are circular references, the modules involved will be output to the console.
#### Usage
```bash
pnpm vsh check-circular
```
#### Options
| Option | Description |
| ---------- | --------------------------------------------------------- |
| `--staged` | Only check files in the git staging area, default `false` |
### vsh check-dep
Check the dependency situation of the entire project and output `unused dependencies`, `uninstalled dependencies` information to the console.
#### Usage
```bash
pnpm vsh check-dep
```
### vsh lint
Lint checks the project to see if the code in the project conforms to standards.
#### Usage
```bash
pnpm vsh lint
```
#### Options
| Option | Description |
| ---------- | -------------------------------------------- |
| `--format` | Check and try to fix errors, default `false` |
### vsh publint
Perform package standard checks on `Monorepo` projects to see if the packages in the project conform to standards.
#### Usage
```bash
pnpm vsh publint
```
#### Options
| Option | Description |
| --------- | ------------------------------------ |
| `--check` | Only perform checks, default `false` |
### vsh code-workspace
Generate `vben-admin.code-workspace` file. Currently, it does not need to be executed manually and will be executed automatically when code is committed.
#### Usage
```bash
pnpm vsh code-workspace
```
#### Options
| Option | Description |
| --------------- | --------------------------------------------------------- |
| `--auto-commit` | Automatically commit during `git commit`, default `false` |
| `--spaces` | Indentation format, default `2` spaces |
## turbo-run
Used to quickly execute scripts in the large repository and provide option-based interactive selection.
### Usage
```bash
pnpm turbo-run [command]
```
### turbo-run dev
Quickly execute the `dev` command and provide option-based interactive selection.