File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11# routes-gen
22
3+ ## 0.5.2
4+
5+ ### Patch Changes
6+
7+ - Updated cli help message.
8+
39## 0.5.1
410
511### Patch Changes
Original file line number Diff line number Diff line change 11{
22 "name" : " routes-gen" ,
3- "version" : " 0.5.1 " ,
3+ "version" : " 0.5.2 " ,
44 "main" : " dist/index.js" ,
55 "types" : " dist/index.d.ts" ,
66 "license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -6,15 +6,9 @@ import { exportRoutes } from "./export-routes";
66import { Driver } from "./types" ;
77import { logError , logInfo } from "./utils" ;
88
9- const drivers = [ "@routes-gen/remix" ] ;
10-
11- const driversHelpText = drivers . map (
12- ( driver ) => `${ driver } Installation: yarn add ${ driver } \n`
13- ) ;
14-
159const helpText = `
1610Usage
17- $ routes-gen build
11+ $ routes-gen -d [driver]
1812
1913Options
2014 --help Print this help message and exit
@@ -25,7 +19,7 @@ Options
2519 --post-export Execute a command after routes export
2620
2721Official Drivers
28- ${ driversHelpText }
22+ @routes-gen/remix Remix driver
2923` ;
3024
3125const cli = meow ( helpText , {
You can’t perform that action at this time.
0 commit comments