help
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user