Multiple different build modes

This commit is contained in:
trickypr 2022-06-23 12:23:33 +10:00
parent 7ce1c368f6
commit a71f9797b5
4 changed files with 64 additions and 9 deletions

View file

@ -29,6 +29,12 @@ export const commands: Cmd[] = [
],
requestController: async () => (await import('./commands/build')).build,
},
{
cmd: 'config',
aliases: ['set', 'get'],
description: 'Get and set the dynamic config from this project',
requestController: async () => (await import('./commands/set')).set,
},
{
cmd: 'discard <file>',
description: 'Discard a files changes.',
@ -102,12 +108,6 @@ export const commands: Cmd[] = [
description: 'Run the browser.',
requestController: async () => (await import('./commands/run')).run,
},
{
cmd: 'config',
aliases: ['set', 'get'],
description: 'Get and set the dynamic config from this project',
requestController: async () => (await import('./commands/set')).set,
},
{
cmd: 'setup-project',
description: 'Sets up a gluon project for the first time',