hygen icon indicating copy to clipboard operation
hygen copied to clipboard

Hygen has different output with --dry enabled.

Open tatupesonen opened this issue 3 years ago • 0 comments

# With dry
tatu@DESKTOP-87LVEEG:~/dev/projects/hygenthing$ npx hygen component ng --dry
✔ Name of component? (ex: MyCoolComponent) ·
✔ Module for this component: · Admin
(dry mode)
Loaded templates: _templates
       added: assets/templates/admin/components/.html
       added: assets/scripts/admin/components/.ts
       shell: echo 'import "./components/"' >> assets/scripts/admin/load-components.js

# Without dry
tatu@DESKTOP-87LVEEG:~/dev/projects/hygenthing$ npx hygen component ng
✔ Name of component? (ex: MyCoolComponent) · asd
✔ Module for this component: · Admin

Loaded templates: _templates
       added: assets/templates/admin/components/asd.html
       added: assets/scripts/admin/components/asd.ts
       // Now shell script isn't being run...

Versions: Node v14.18.0 Hygen v6.1.0

tatupesonen avatar Oct 18 '21 07:10 tatupesonen