
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
silhouette-cli
Advanced tools
Command line tool for silhouette
$ npm install -g silhouette-cli
Run commands in your app's root directory.
$ silhouette help
silhouette create --projectCreate a silhouette app in the current directory.
Examples
$ silhouette create --project
# Short option also works
$ silhouette create -p
silhouette create --all <name>Create a controller, view, and stylesheet.
Examples
# Create a controller and stylesheet called ProductListingCtrl and a view called product-listing
$ silhouette create --all product_listing
# Short option also works
$ silhouette create -a product_listing
silhouette create --controller <name>Create a controller.
Examples
# Create a controller called ProductListingCtrl
$ silhouette create --controller product_listing
# Short option also works
$ silhouette create -c product_listing
silhouette create --style <name>Create a stylesheet.
Examples
# Create a stylesheet called ProductListingCtrl
$ silhouette create --style product_listing
# Short option also works
$ silhouette create -s product_listing
silhouette create --view <name>Create a view.
Examples
# Create a view called product-listing
$ silhouette create --view product_listing
# Short option also works
$ silhouette create -v product_listing
silhouette help [<command>]Output usage information. Passing the name of the command as a parameter will output the help information for that specific command.
Examples
$ silhouette help
$ silhouette help create
# Long and short options also works
$ silhouette --help create
$ silhouette -h create
silhouette versionOutput version number.
Examples
$ silhouette version
# Long and short options also works
$ silhouette --version
$ silhouette -v
Silhouette uses AngularJS for controllers. .js files are generated by this tool.
Silhouette uses Stylus for stylesheets (compiled as .css). .styl files are generated by this tool.
Silhouette uses Jade for views. .jade files are generated by this tool.
Names of controller and style files are converted into upper camel cased words suffixed with "Ctrl".
Examples
The following will be converted to HelloWorldCtrl
Names of view files are converted into lower cased, dash-separated words.
Examples
The following will be converted to hello-world
FAQs
Command line tool for silhouette
We found that silhouette-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.