mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-08 01:10:03 +02:00
✨ Multiple different build modes
This commit is contained in:
parent
7ce1c368f6
commit
a71f9797b5
4 changed files with 64 additions and 9 deletions
12
src/cmds.ts
12
src/cmds.ts
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue