tysapi-generate-policy
v3.0.5
Published
Generate a policy for a Tysapi API.
Downloads
3
Readme
tysapi-generate-policy
This Tysapi generator contains the default files for a policy.
This generator can be called with:
$ tysapi generate:policy policyName apiName
For example if you want to generate a isAuthenticated
policy for the user
API:
$ tysapi generate:policy isAuthenticated user