open-index/open-npm huggingface dataset:
npm package: @node-ai/cli
Description: nodeai cli is a command-line tool that can help developers use nodeai more conveniently
Latest version: 0.1.28

[![npm version](https://img.shields.io/npm/v/@node-ai/cli.svg)](https://npmjs.com/package/@node-ai/cli)
[![node version](https://img.shields.io/node/v/@node-ai/cli.svg)](https://nodejs.org/en/about/previous-releases)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)

![help](https://raw.githubusercontent.com/lineCode/nodeai/main/assets/cli/help.png)

`nodeai` cli is a command-line tool that can help developers use nodeai more conveniently

## Usage
### Install
```
npm install @node-ai/cli
yarn add @node-ai/cli
```

### Subcommands
+ #### gen-assist
   generate assist for code autocomplete
   ![help](https://raw.githubusercontent.com/lineCode/nodeai/main/assets/cli/assist1.png)
   ![help](https://raw.githubusercontent.com/lineCode/nodeai/main/assets/cli/assist2.png)

  ```-s``` generate vscode snippets with tabstops
  ![help](https://raw.githubusercontent.com/lineCode/nodeai/main/assets/cli/assist3.png)

  view more detail flags, use: ``` nodeai gen-assist --help ```

+ #### gen-code
  generate code from comfyui flow  
  ![help](https://raw.githubusercontent.com/lineCode/nodeai/main/assets/cli/code-txt2img.png)

  view more detail flags, use: ``` nodeai gen-code --help ```

+ #### gen-flow
  generate comfyui flow from json prompt, Automatic layout of node positions
  ![help](https://raw.githubusercontent.com/lineCode/nodeai/main/assets/cli/json-flow-txt2img.png)

  view more detail flags, use: ``` nodeai gen-flow --help ```