-
Notifications
You must be signed in to change notification settings - Fork 431
Open
Description
Currently there is no way how to pass to CLI file with banner ( banners tends to be longer than one line comment )
Current solution:
json2ts -i events.json -o src/Events.ts --bannerComment "$(cat ./banner.txt)"Proposed feature:
# Will use inline string for banner
json2ts -i events.json -o src/Events.ts --bannerComment '//Hello darnkess my old friend'
# Will use content of file
json2ts -i events.json -o src/Events.ts --bannerComment ./banner.txtIf you're ok with that I can send PR.
johnbillion