Create YouTrack App
[this is Work in progress]
supported commands for now:
hygen init manifest
- to create manifest.json
filehygen init settings
- to create settings.json
filehygen widget add
- to create widget directory, and add widget to settings.json
filehygen property add
- to create extension property
Development
To test locally, run npm exec .
Documentation
https://www.hygen.io/docs/generators - Hygen is used for the documentation
Caveats
Hygen is quite powerful tool for generation files, but it is not perfect for the working with the JSON files. So, some JSON manipulation can be tricky. To prevent this, there is a injectJsCallback.js
file where is a helper function that can be called to create custom JS actions instead of file rendering. Example of usage _templates/settings/index.js
file.
TODO: