open-index/open-npm huggingface dataset:
npm package: @sugarat/cli
Description: A dynamic CLI tool，Based on Commander，Support Plugin System
Author: ATQQ
Latest version: 0.0.7

# @sugarat/cli

A dynamic CLI tool，Based on [Commander](https://www.npmjs.com/package/commander)

Support Plugin System

## Quick Start

```sh
npm i -g @sugarat/cli
```

then you will get `q` command

install cli plugin

```sh
q install hello [words...]
q install hello
q install hello 真不戳

# equal
q install @sugarat/cli-plugin-hello@latest
```

then you `q` have hello command
```sh
q hello
```

## More Plugins
It will come soon.
npm package: @sugarat/cli-plugin-blog
Description: 用于博客内容分发其它平台的markdown格式转换
Author: ATQQ
Latest version: 0.0.13

# @sugarat/cli-plugin-blog

用于博客内容分发其它平台的格式转换

![](https://img.cdn.sugarat.top/mdImg/MTY3NjEyNzk1ODIyOA==676127958228)

## Quick Started
You need to install `@sugarat/cli` first
```sh
npm i -g @sugarat/cli
```

then you will get `q` command

install cli plugin

```sh
q add blog

# equal
q install @sugarat/cli-plugin-blog@latest
```

then you `q` have blog command
```sh
q blog
```
npm package: @sugarat/cli-plugin-config
Description: 基于commander 拓展出config 指令
Author: ATQQ
Latest version: 0.0.2

# @sugarat/cli-plugin-config

Expand the config command for commander

## Quick Started
install
```sh
npm install @sugarat/cli-plugin-config
```

register
```ts
import definePlugin from '@sugarat/cli-plugin-config'
import { Command } from 'commander'

const programInstance = new Command()

const defaultConfig = {}
const configPlugin = definePlugin('.sugarat/.clirc', defaultConfig)

configPlugin.command(programInstance)

programInstance.parse(process.argv)
```

then you cli will have config command

![图片](https://img.cdn.sugarat.top/mdImg/MTY3MDA3ODI0NzQyNw==670078247427)

## CRUD
```sh
command get <key>
command set <key> <value>
command del <key>
command ls
```

![图片](https://img.cdn.sugarat.top/mdImg/MTY3MDA3ODY3MDQ5Ng==670078670496)
npm package: @sugarat/cli-plugin-ep
Description: @sugarat/cli EasyPicker plugin
Author: ATQQ
Latest version: 0.1.4

# @sugarat/cli-plugin-ep

@sugarat/cli EasyPicker plugin

see example image

TODO：
## Quick Started
You need to install `@sugarat/cli` first
```sh
npm i -g @sugarat/cli
```

then you will get `q` command

install cli plugin

```sh
q install ep

# equal
q install @sugarat/cli-plugin-ep@latest
```

then you `q` have ep command
```sh
q ep
```
npm package: @sugarat/cli-plugin-hello
Description: @sugarat/cli demo plugin
Author: ATQQ
Latest version: 0.0.2

# @sugarat/cli-plugin-hello

@sugarat/cli demo plugin

say hello words

see example image

![图片](https://img.cdn.sugarat.top/mdImg/MTY3MDA3NTY5MjkyNA==670075692924)

## Quick Started
You need to install `@sugarat/cli` first
```sh
npm i -g @sugarat/cli
```

then you will get `q` command

install cli plugin

```sh
q install hello [words...]
q install hello
q install hello 真不戳

# equal
q install @sugarat/cli-plugin-hello@latest
```

then you `q` have hello command
```sh
q hello
```
npm package: @sugarat/create-theme
Description: 简约风的 Vitepress 博客主题，sugarat vitepress blog theme
Author: 粥里有勺糖
Latest version: 0.0.96

# @sugarat/create-theme
快速创建简约风的 Vitepress 博客主题项目模板，更多细节见 https://theme.sugarat.top

![图片](https://img.cdn.sugarat.top/mdImg/MTY3MzE3MDUxOTMwMw==673170519303~fmt.webp)

## Scaffolding Your First Blog Project

With NPM:

```bash
$ npm create @sugarat/theme@latest
```

With Yarn:

```bash
$ yarn create @sugarat/theme
```

With PNPM:

```bash
$ pnpm create @sugarat/theme
```

With Bun:

```bash
$ bun create @sugarat/theme
```

Then follow the prompts!

You can also directly specify the project name you want to use via additional command line options. For example, to scaffold a my-first-blog, run:

```bash
# npm
npm create @sugarat/theme@latest my-first-blog

# yarn
yarn create @sugarat/theme my-first-blog

# pnpm
pnpm create @sugarat/theme my-first-blog

# bun
bun create @sugarat/theme my-first-blog
```