This file has been truncated. show original
# How to use aurelia-cli to develop Aurelia plugin
The current way [skeleton-plugin](https://github.com/aurelia/skeleton-plugin) to develop Aurelia plugin bothered me.
1. need to maintain jspm config.
2. testing is hard, requires many mocks on quite a few Aurelia internal objects which I am not familiar with.
3. dev flow is not smooth, need to use `npm link` in another dev app in order to try my plugin.
We love using `au run --watch` and `au test` in app dev, if only there is a way to use cli to develop plugin...
Well, here is how to.
## cli is already capable for developing plugin
This might surprise you, but cli is all ready for the job.
What you need is a small adjustment of your mindset:
### Your `src/` folder, is not necessary the source folder. Imagining `src/` is just the dev env, the real source folder is `src/resources` (or `src/plugin-name`).