heroku-connect-plugin
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -57,3 +57,3 @@ 'use strict' | ||
} | ||
], co.wrap(function * (answers) { | ||
]).then(co.wrap(function * (answers) { | ||
for (let key in answers) { | ||
@@ -60,0 +60,0 @@ data[key] = answers[key] |
@@ -8,6 +8,6 @@ 'use strict' | ||
module.exports = { | ||
topic: 'connect', | ||
command: 'mapping:delete', | ||
description: 'delete an existing mapping', | ||
help: 'delete an existing mapping', | ||
topic: 'connect:mapping', | ||
command: 'delete', | ||
description: 'Delete an existing mapping', | ||
help: 'Delete an existing mapping', | ||
args: [ | ||
@@ -14,0 +14,0 @@ {name: 'mapping'} |
@@ -9,4 +9,4 @@ 'use strict' | ||
module.exports = { | ||
topic: 'connect', | ||
command: 'mapping:diagnose', | ||
topic: 'connect:mapping', | ||
command: 'diagnose', | ||
description: 'Display diagnostic information about a mapping', | ||
@@ -13,0 +13,0 @@ help: 'Checks a mapping for common configuration errors. ', |
@@ -8,6 +8,6 @@ 'use strict' | ||
module.exports = { | ||
topic: 'connect', | ||
command: 'mapping:reload', | ||
description: "reload a mapping's data from Salesforce", | ||
help: "reload a mapping's data from Salesforce", | ||
topic: 'connect:mapping', | ||
command: 'reload', | ||
description: "Reload a mapping's data from Salesforce", | ||
help: "Reload a mapping's data from Salesforce", | ||
args: [ | ||
@@ -14,0 +14,0 @@ {name: 'mapping'} |
@@ -8,4 +8,4 @@ 'use strict' | ||
module.exports = { | ||
topic: 'connect', | ||
command: 'mapping:state', | ||
topic: 'connect:mapping', | ||
command: 'state', | ||
description: 'return a mapping state', | ||
@@ -12,0 +12,0 @@ help: 'return a mapping state', |
@@ -7,4 +7,4 @@ 'use strict' | ||
module.exports = { | ||
topic: 'connect', | ||
command: 'mapping:write-errors', | ||
topic: 'connect:mapping', | ||
command: 'write-errors', | ||
description: 'Display the last 24 hours of write errors on this mapping', | ||
@@ -11,0 +11,0 @@ examples: [ |
14
index.js
'use strict' | ||
exports.topics = [{ | ||
name: 'connect', | ||
description: 'manage connections for Heroku Connect' | ||
}] | ||
exports.topics = [ | ||
{ | ||
name: 'connect', | ||
description: 'manage connections for Heroku Connect' | ||
}, | ||
{ | ||
name: 'connect:mapping', | ||
description: 'manage mappings on a Heroku Connect addon' | ||
} | ||
] | ||
@@ -7,0 +13,0 @@ exports.commands = [ |
{ | ||
"name": "heroku-connect-plugin", | ||
"description": "Heroku Connect plugin for Heroku CLI", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"author": "Heroku (@heroku)", | ||
@@ -6,0 +6,0 @@ "repository": { |
958
51030
28