rekit
rekit copied to clipboard
rekit cli not work as docs said
-
rekit create hello --cleandoes not create a clean app, rekit version is v2.0.3. -
rekit add component home/hello -u hellodoes not add the route.
I check the source and known that rekit cli send command with url_path param to the rekit-core, but rekit-core is using urlPath as the route param.
Change addCmd.addArgument(['--url-path', '-u'], ...) to addCmd.addArgument(['--urlPath', '-u'], ...) in rekit.js fix the bug.
Thanks @wenris for reporting this. --clean command has not been supported yet. The second issue has been fixed.
--clean will be tracked by #24 , close this one.