An open API service indexing awesome lists of open source software.

https://github.com/postcatlab/postcat-cli

Postcat development cli tool
https://github.com/postcatlab/postcat-cli

Last synced: 3 months ago
JSON representation

Postcat development cli tool

Awesome Lists containing this project

README

          

# PC CLI

## Installion

```
npm install -g @postcat/cli
```

Now, you can use `pcex xxx` command to generate、upload plugin of postcat.

## Generate

```bash
pcex generate
# or
pcex g
# or
pcex g [--type]
```

The commad will generate a folder includes base config files, let you could create any features.

## Upload

```
pcex upload
```

It will find and go inside the package directory, and upload the `package.json` to postcat market. However you need to wait until it is approved to find it in the market.

## Debug

```
pcex debug
```

The command will create a link between postcat with your extension. It seems like install your extension from the market, but you don't need to upload the extension. We are also planning to support hot-update.

# Cli Development

```
pnpm link --global
```

or

```
npm pack
npm i --location=global postcat-cli-${version}.tgz
```