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 { AutoComplete, Input, Confirm } = require('enquirer');
import { Octokit } from "@octokit/core";
import { GluegunPrint } from 'gluegun';
import { defaultMenuSettings } from '../../../../globals';
const os = require("os");
const STACK_DEFAULTS = {
@@ -111,7 +112,7 @@ module.exports = {
name: 'update',
alias: ['u'],
description: 'Update stack with different branch (u)',
hidden: true,
hidden: false,
run: async (toolbox: GluegunMenuToolbox) => {
const { system, strings, print, filesystem } = toolbox;
@@ -124,7 +125,7 @@ module.exports = {
`);
if (toolbox.fromMenu()) {
await toolbox.menu.showMenu()
await toolbox.menu.showMenu(null, defaultMenuSettings)
} else {
return;
}
@@ -212,7 +213,7 @@ module.exports = {
}
if (toolbox.fromMenu()) {
await toolbox.menu.showMenu('deployment testservers')
await toolbox.menu.showMenu('deployment testservers', defaultMenuSettings)
}
}
}