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
@@ -1,4 +1,5 @@
import { GluegunMenuToolbox } from '@lenne.tech/gluegun-menu'
import { defaultMenuSettings } from '../../../../globals';
const tto = require('terminal-table-output').create();
type Stack = {
@@ -13,7 +14,7 @@ module.exports = {
name: 'status',
alias: ['s'],
description: 'Show status for available testservers (s)',
hidden: true,
hidden: false,
run: async (toolbox: GluegunMenuToolbox) => {
const { system, strings } = toolbox
@@ -62,7 +63,7 @@ module.exports = {
tto.print(true);
if (toolbox.fromMenu()) {
await toolbox.menu.showMenu('deployment testservers');
await toolbox.menu.showMenu('deployment testservers', defaultMenuSettings);
}
}
}