šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

generator-slack-slash

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-slack-slash

Yeoman generator for slack-slash app

1.0.2
latest
Source
npm
Version published
Weekly downloads
1
-75%
Maintainers
1
Weekly downloads
Ā 
Created
Source

generator-slack-slash Build Status

Yeoman generator for slack-slash app and handler plugins.

Getting Started

If you're not familiar with Yeoman, you should start here.

Install yeoman

npm install -g yo

Install the generator

npm install -g generator-slack-slash

Generating a slack-slash app

###Initiate the app generator:

yo slack-slash

###Follow the steps

? Name your app:

Tell Yeoman what to call your app.

? Set up initial handlers?

Already know what handlers you want to include?

###Optional steps for adding initial handlers:

? List handlers to use (comma separated):

Comma-separated list of handler modules

? What is the /:command for [handler]?

Command used to invoke the handler from Slack (excluding '/')

? Environment variable for your slack token:

Environment variable name for the handler token

Generating a slack-slash handler

###Initiate the handler generator:

yo slack-slash:handler

###Follow the steps

? What's the slash command for your handler? (/:command)

Command used to invoke the handler from Slack (excluding '/')

? Whats the name of your handler?

Module name. Defaults to slack-slash-[command].

? Give a short description for your handler:

Description will be used in the generated README.md file.

License

MIT

Keywords

yeoman-generator

FAQs

Package last updated on 20 Dec 2015

Did you know?

Socket

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.

Install

Related posts