All files / context / command.ts

100.00% Branches 0/0
80.95% Lines 17/21
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
 
 
 
 
 
x2
x2
x2
x2
x2
x2
x2
x2
x2
x2
x2
x2
x2
x2
x2
x2
x2





















export const command = (name, ...steps) =>
  () => { throw new Error('TODO') }

export const commandOption = (name, ...steps) =>
  () => { throw new Error('TODO') }

export const defaultCli = command(null,
  command('build',
    command('debug'),
    command('mocks'),
    command('release')),
  command('clone'),
  command('deploy'),
  command('keys',
    command('check'),
    command('regen')),
  command('localnet',
    command('deployed'),
    command('wait')),
  command('repl'),
  command('test',
    commandOption('full'),
    commandOption('debug')))