@nrwl/angular:scam-directive
Creates a new, generic Angular directive definition in the given or default project.
Usage
nx generate scam-directive ...
By default, Nx will search for scam-directive
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/angular:scam-directive ...
Show what will be generated without writing to disk:
nx g scam-directive ... --dry-run
Examples
Generate a MySampleDirective
directive in a my-sample
folder in the my-lib
library:
nx g @nrwl/angular:scam-directive --project=my-lib --flat=false my-sample