Yeoman generator that scaffolds out a stackstorm pack
- create scaffold for stackform pack: hello_st2
- create scaffold for stackstorm action
- Generate README.md file out of
.yo-rc.json
file.
- Install:
npm install --global yo generator-st2pack
- Run
yo st2pack
to scaffold your stackstorm pack - Run
yo st2pack:action
to scaffold stackstorm action - Run
st2 pack install file:///$PWD
to install pack - Commands like
st2 pack list
,st2 action list
,st2 rule list
andst2 trigger list
will show you the loaded content.
Do no edit
yo-rc.yaml
file manually as it'll overwritten in next run. This file is read to generate README.md file for the scaffolded project.
Follow the official stackstorm guide for more information on submitting stackstorm pack to community
- getting started with this generator
- contribution docs and FAQ, good to check before posting an issue
--skip-welcome-message
Skips Yeoman's greeting before displaying options.--skip-install-message
Skips the the message displayed after scaffolding has finished and before the dependencies are being installed.--skip-install
Doesn't automatically install dependencies after scaffolding has finished.--test-framework=<framework>
Eithermocha
orjasmine
. Defaults tomocha
.
See the contributing docs.