Skip to content

Commit

Permalink
Hook up the new init command
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Dec 6, 2017
1 parent 5e5bc92 commit 442f632
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ developers, so please limit technical // terminology to in here.

// ### Master

### 2.1.1

* Fixes for `danger init` - there's always a patch :D - [@orta][]

### 2.1.0

* Adds a new command for getting set up: `danger init` - [@orta][]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "danger",
"version": "2.1.0",
"version": "2.1.1",
"description": "Unit tests for Team Culture",
"main": "distribution/danger.js",
"typings": "distribution/danger.d.ts",
Expand Down
1 change: 1 addition & 0 deletions source/commands/danger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ process.on("unhandledRejection", function(reason: string, _p: any) {
// Provides the root node to the command-line architecture
program
.version(version)
.command("init", "Helps you get started with Danger")
.command("process", "Like `run` but lets another process handle evaluating a Dangerfile")
.command("pr", "Runs your changes against an existing PR")
.command("runner", "Runs a dangerfile against a DSL passed in via STDIN")
Expand Down

0 comments on commit 442f632

Please sign in to comment.