This commit is contained in:
Martin McKeaveney 2021-03-22 17:15:34 +00:00
parent f3302770b3
commit cb4ed1cdb4
1 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,6 @@
#!/usr/bin/env node #!/usr/bin/env node
const compose = require("docker-compose") const compose = require("docker-compose")
const path = require("path") const path = require("path")
const readline = require("readline")
// This script wraps docker-compose allowing you to manage your dev infrastructure with simple commands. // This script wraps docker-compose allowing you to manage your dev infrastructure with simple commands.
const CONFIG = { const CONFIG = {
@ -32,7 +31,7 @@ async function up() {
try { try {
await compose.upAll(CONFIG) await compose.upAll(CONFIG)
} catch (err) { } catch (err) {
console.log("something went wrong:", err.message) console.log("Something went wrong:", err.message)
} }
} }
@ -41,7 +40,7 @@ async function down() {
try { try {
await compose.stop(CONFIG) await compose.stop(CONFIG)
} catch (err) { } catch (err) {
console.log("something went wrong:", err.message) console.log("Something went wrong:", err.message)
} }
} }
@ -52,7 +51,7 @@ async function nuke() {
try { try {
await compose.down(CONFIG) await compose.down(CONFIG)
} catch (err) { } catch (err) {
console.log("something went wrong:", err.message) console.log("Something went wrong:", err.message)
} }
} }