3.0.1 • Published 7 years ago

mwapi-generate-policy v3.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

mwapi-generate-policy

This mwapi generator contains the default files for a policy.

This generator can be called with:

$ mwapi generate:policy policyName apiName

For example if you want to generate a isAuthenticated policy for the user API:

$ mwapi generate:policy isAuthenticated user

Resources