19 Commits

Author SHA1 Message Date
David Hemphill
06ed308c28 change print width to 100 characters 2017-11-06 15:02:02 -05:00
David Hemphill
79a2bb39e5 Reformat files 2017-11-06 15:02:02 -05:00
David Hemphill
9dbf5881cd fix eslint issues 2017-11-06 15:00:55 -05:00
David Hemphill
ec607968cf Add ESLinting and Prettier formatting and run an initial format on the codebase 2017-11-06 15:00:00 -05:00
Kalpa Perera
0c5ad514a9 Add file extension if not exists 2017-11-05 22:07:13 +05:30
Adam Wathan
f6b81ae35d Dynamically determine CLI tool version number 2017-11-02 11:35:48 -04:00
David Hemphill
66a2c1b9cb Hide catchall command from help 2017-11-01 17:26:59 -05:00
Adam Wathan
2d7b620f1e Fix issue with config option not being respected in tailwind build
Same issue as we were seeing with output files, I'm a dummy for missing
this and tagging.
2017-11-01 16:45:24 -04:00
Adam Wathan
24766911c1 Fix tailwind build CLI command
Moving to subcommands broke this without us noticing. It's probably a
good idea to add a big dirty integration test for this that just
executes the CLI command and makes sure the file was created.
2017-11-01 09:23:53 -04:00
Adam Wathan
782598319a Comment out requiring defaultConfig inside itself
Uncomment on init
2017-10-26 12:06:10 -04:00
Adam Wathan
7601b5564a Allow optional destination for init command, prevent overriding existing files 2017-10-24 07:39:09 -04:00
Adam Wathan
ba612c8953 WIP 2017-10-24 07:39:09 -04:00
Adam Wathan
244d7c09c9 Move defaultConfig to root so it's not processed by Babel 2017-10-24 07:39:09 -04:00
Adam Wathan
97905388b7 Fix bug where help was output even if matching command was found 2017-10-24 07:39:09 -04:00
Adam Wathan
01f37eb3fe Show help if no command is provided or if command is not found 2017-10-24 07:39:09 -04:00
Adam Wathan
1c15eba932 WIP 2017-10-24 07:39:09 -04:00
Adam Wathan
f87562cd43 Changes to CLI tool
- Remove stuff about merging config; Tailwind handles that on it's own
- Write to stdOut by default; file if specified with -o/--output
2017-10-13 19:38:33 -04:00
David Hemphill
9cf57e7f33 Change merge parameter to replace in CLI 2017-08-28 21:10:29 -05:00
David Hemphill
d1f345fafc Move the CLI to a different file 2017-08-28 15:02:22 -05:00