clubhouse-cli
Advanced tools
Comparing version 1.8.0 to 1.9.0
{ | ||
"name": "clubhouse-cli", | ||
"version": "1.8.0", | ||
"version": "1.9.0", | ||
"description": "A command line tool for viewing, creating and updating clubhouse.io stories", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -142,3 +142,4 @@ # clubhouse-cli | ||
--from-git Fetch story parsed by ID in current git branch | ||
--git-branch Create and checkout git branch from story (<type>-<id>-<slug>) | ||
--git-branch Create git branch from story slug <mention-name>/ch<id>/<type>-<title> | ||
as required by the Git integration: https://bit.ly/2RKO1FF | ||
-h, --help output usage information | ||
@@ -145,0 +146,0 @@ ~~~ |
const Clubhouse = require('clubhouse-lib'); | ||
const configure = require('./configure.js'); | ||
const config = configure.loadConfig(); | ||
const config = require('./configure.js').loadConfig(); | ||
@@ -5,0 +4,0 @@ if (!config) { |
@@ -41,2 +41,7 @@ const path = require('path'); | ||
const updateConfig = (opt) => { | ||
const extant = loadConfig() || {}; | ||
return saveConfig(Object.assign({}, extant, opt)); | ||
}; | ||
const saveWorkspace = (name, workspace) => { | ||
@@ -55,3 +60,3 @@ const extant = loadConfig(); | ||
return saveConfig(Object.assign({}, extant)); | ||
} | ||
}; | ||
@@ -61,4 +66,5 @@ module.exports = { | ||
saveConfig, | ||
updateConfig, | ||
saveWorkspace, | ||
removeWorkspace, | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56441
300
304