Skip to content

Commit

Permalink
fix: add flags and command descripion
Browse files Browse the repository at this point in the history
  • Loading branch information
yarastqt committed May 8, 2020
1 parent 695566b commit 0fcb128
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cli/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ import { build } from '../core/build'
type Flags = { config: string }

export default class Build extends Command {
static description = 'Builds tokens for configured formats.'

static flags = {
config: flags.string({
char: 'c',
description: 'Config path',
description: 'The path to a themekit config file.',
default: 'themekit.config.js',
}),
}
Expand Down

0 comments on commit 0fcb128

Please sign in to comment.