# gadmin-cli

## Generate codes for your gadmin project

> **Compatibility Note:**
> `gadmin-cli` requires [Node.js](https://nodejs.org/en/) version >=12.0.0.

```bash
$ npx gadmin
```

## Configuration
> **Overwrite Note:**
> The generated files may overwrite your project, please make sure to commit or stash your changes before running `gadmin-cli`

By default, `gadmin-cli` will automatically try to read configs from `config/models.yml` and `config/ui.yml`, and then generate codes to your project. You could add a config file named `.gadminrc.js` inside project root to custom it.

```javascript
module.exports = {
  configPath: 'gadmin-config',
};
```
