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

https://github.com/imgcook/imgcook-cli

Using Imgcook force in your terminal
https://github.com/imgcook/imgcook-cli

design-to-code

Last synced: 9 months ago
JSON representation

Using Imgcook force in your terminal

Awesome Lists containing this project

README

          

# imgcook-cli

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/imgcook/imgcook-cli/blob/master/LICENSE)
[![GitHub tag](https://img.shields.io/github/tag/imgcook/imgcook-cli.svg)]()
[![Build Status](https://travis-ci.org/imgcook/imgcook-cli.svg?branch=master)](https://travis-ci.org/imgcook/imgcook-cli)
[![npm dm](https://img.shields.io/npm/dm/@imgcook/cli)](https://www.npmjs.com/package/@imgcook/cli)
[![GitHub repo size](https://img.shields.io/github/repo-size/imgcook/imgcook-cli)]()

imgcook-cli can combine the capabilities of Plugin to place the code products generated by the imgcook platform into your local project project, and seamlessly integrate into your development process. Upload pictures to your own bed, file directory conversion, etc.), imgcook-cli is a very good choice for you.

## Getting Started
## Install
> The imgcook-cli installation depends on Node.js and NPM. It is recommended to use Node.js version 9.x

```shell
# npm
npm install -g @imgcook/cli
# yarn
yarn global add @imgcook/cli
```

## Use

### Common command

#### imgcook config
> User settings configuration, default initialization generates official configuration

```shell
# Setting config
imgcook config set

# View config
imgcook config ls

# Open configuration file directly
imgcook config edit
```

> DSL config:
> React D2C Schema:41
> Vue 开发规范:29
> 微信小程序开发规范:21
> React 开发规范:12
> H5 标准开发规范:5
> Rax 标准开发规范:1
>
> Get accessId :Official website top right corner avatar -> Personal page -> Top left Icon
>

#### imgcook pull
> Pull module code

```shell
# Pull a module code to a local path
imgcook pull --path
# Example
imgcook pull 17108 --path mod
```

#### imgcook install
> Plugins required to install imgcook-cli

```shell
# Install all configured plugins by default
imgcook install

# Install the specified plugin
imgcook install plugin --name

# Example
imgcook install plugin --name @imgcook/plugin-images
```

### Options

#### imgcook --version
> Display version information

```shell
imgcook --version
imgcook -v
```

#### imgcook --help
> Show command usage help

```shell
imgcook --help
imgcook -h
```

## License
[MIT](https://github.com/imgcook/imgcook-cli/blob/master/LICENSE)