Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
Kaustav | #52 | Added validation for style flag. | TG-52
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixTW committed Aug 22, 2019
1 parent 848fe02 commit ae35f05
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/commands/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ GenerateCommand.aliases = ["g"];

GenerateCommand.flags = {
help: flags.help({ char: "h" }),
style: flags.string(),
style: flags.string({
description: 'Name of the stylesheet type',
options: ['scss'],
multiple: false
}),
};

module.exports = GenerateCommand;

0 comments on commit ae35f05

Please sign in to comment.