# import-schema

> Import versioned MySQL schema

Latest version **0.1.1** (published 2020-08-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install import-schema
pnpm add import-schema
yarn add import-schema
bun add import-schema
```

Provides the command `import-schema`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2020-08-19 |
| First published | 2020-08-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.0.0 |
| Dependencies | 7 |
| Unpacked size | 19.7 KB |
| Known vulnerabilities | 0 (+7 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Kieren BP |
| Maintainers | kieren |
| Keywords | oclif |

## Links

- npm: https://www.npmjs.com/package/import-schema
- Repository: https://github.com/KierenBP/import-schema
- Issues: https://github.com/KierenBP/import-schema/issues
- npm.io page: https://npm.io/package/import-schema

## Dependencies (7)

- [listr](https://npm.io/package/listr.md) ^0.14.3
- [mysql2](https://npm.io/package/mysql2.md) ^2.1.0
- [inquirer](https://npm.io/package/inquirer.md) ^7.3.3
- [mysql-import](https://npm.io/package/mysql-import.md) ^4.0.24
- [@oclif/config](https://npm.io/package/@oclif/config.md) ^1.17.0
- [@oclif/command](https://npm.io/package/@oclif/command.md) ^1.8.0
- [@oclif/plugin-help](https://npm.io/package/@oclif/plugin-help.md) ^3.2.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2020-08-19
- 0.1.0 — 2020-08-19
- 0.0.4 — 2020-08-18
- 0.0.3 — 2020-08-18
- 0.0.2 — 2020-08-18
- 0.0.1 — 2020-08-17

## README

import-schema
=============

Import versioned MySQL schema

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/import-schema.svg)](https://npmjs.org/package/import-schema)
[![Downloads/week](https://img.shields.io/npm/dw/import-schema.svg)](https://npmjs.org/package/import-schema)
[![License](https://img.shields.io/npm/l/import-schema.svg)](https://github.com/oshtrak/import-schema/blob/master/package.json)

<!-- toc -->
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->
# Usage
<!-- usage -->
```sh-session
$ npm install -g import-schema
$ import-schema COMMAND
running command...
$ import-schema (-v|--version|version)
import-schema/0.1.1 darwin-x64 node-v14.4.0
$ import-schema --help [COMMAND]
USAGE
  $ import-schema COMMAND
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
* [`import-schema generate [LOCATION]`](#import-schema-generate-location)
* [`import-schema get-version`](#import-schema-get-version)
* [`import-schema help [COMMAND]`](#import-schema-help-command)
* [`import-schema install [LOCATION]`](#import-schema-install-location)
* [`import-schema update [LOCATION]`](#import-schema-update-location)

## `import-schema generate [LOCATION]`

Create schema directory

```
USAGE
  $ import-schema generate [LOCATION]

DESCRIPTION
  ...
  Extra documentation goes here
```

_See code: [src/commands/generate.js](https://github.com/KierenBP/import-schema/blob/v0.1.1/src/commands/generate.js)_

## `import-schema get-version`

Get Current Version From Database

```
USAGE
  $ import-schema get-version

DESCRIPTION
  ...
  Extra documentation goes here
```

_See code: [src/commands/get-version.js](https://github.com/KierenBP/import-schema/blob/v0.1.1/src/commands/get-version.js)_

## `import-schema help [COMMAND]`

display help for import-schema

```
USAGE
  $ import-schema help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.0/src/commands/help.ts)_

## `import-schema install [LOCATION]`

Fresh import of entire schema

```
USAGE
  $ import-schema install [LOCATION]

OPTIONS
  -v, --version=version

DESCRIPTION
  ...
  Extra documentation goes here
```

_See code: [src/commands/install.js](https://github.com/KierenBP/import-schema/blob/v0.1.1/src/commands/install.js)_

## `import-schema update [LOCATION]`

Update schema to passed version

```
USAGE
  $ import-schema update [LOCATION]

OPTIONS
  -v, --version=version

DESCRIPTION
  ...
  Extra documentation goes here
```

_See code: [src/commands/update.js](https://github.com/KierenBP/import-schema/blob/v0.1.1/src/commands/update.js)_
<!-- commandsstop -->

---
_Source: https://npm.io/package/import-schema · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
