4.0.4 • Published 7 years ago

adocker-mysql v4.0.4

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

adocker-mysql

Build Status npm Version JS Standard

Docker mysql utility

Installation

$ npm install adocker-mysql --save

Usage

'use strict'

const adockerMysql = require('adocker-mysql')

const mysql = adockerMysql('my-mysql-container-01', {
  onError: (err) => {
    // Error handler for each commands
    console.error(err)
    process.exit(1)
  }
})

const {run, start, stop, remove, logs} = mysql.cli()
;(async () => {
  await run()
  /* ... */
  await logs()
  /* ... */
  await stop()
  /* ... */
  await start()

  await remove({force: true})
})()

License

This software is released under the MIT License.

Links

4.0.4

7 years ago

4.0.3

7 years ago

4.0.2

7 years ago

4.0.1

7 years ago

4.0.0

7 years ago

3.0.5

7 years ago

3.0.4

7 years ago

3.0.3

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

1.2.4

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago