This commit is contained in:
Arwid Thornström
2022-01-21 13:34:56 +01:00
parent b4d3f789cf
commit fda1b42e9f
11 changed files with 43 additions and 29 deletions
@@ -3,6 +3,7 @@ const chalk = require('chalk');
const { Input, Confirm } = require('enquirer');
import { Octokit } from "@octokit/core";
import { GluegunPrint } from 'gluegun';
import { defaultMenuSettings } from '../../../../globals';
const os = require("os");
const STACK_DEFAULTS = {
@@ -113,7 +114,7 @@ module.exports = {
name: 'create',
alias: ['c'],
description: 'Create new testserver on aws (c)',
hidden: true,
hidden: false,
run: async (toolbox: GluegunMenuToolbox) => {
const { system, strings, print, filesystem } = toolbox;
@@ -126,7 +127,7 @@ module.exports = {
`);
if (toolbox.fromMenu()) {
await toolbox.menu.showMenu()
await toolbox.menu.showMenu(null, defaultMenuSettings)
} else {
return;
}
@@ -204,7 +205,7 @@ module.exports = {
`);
if (toolbox.fromMenu()) {
await toolbox.menu.showMenu('deployment testservers');
await toolbox.menu.showMenu('deployment testservers', defaultMenuSettings);
}
}
@@ -241,7 +242,7 @@ module.exports = {
}
if (toolbox.fromMenu()) {
await toolbox.menu.showMenu('deployment testservers')
await toolbox.menu.showMenu('deployment testservers', defaultMenuSettings)
}
}
}