Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

clubhouse-cli

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clubhouse-cli - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

src/bin/club-workflows

2

package.json
{
"name": "clubhouse-cli",
"version": "0.6.0",
"version": "0.7.0",
"description": "A command line tool for searching,viewing, and updating clubhouse.io stories",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -21,4 +21,6 @@ # clubhouse-cli

find find stories with optional query
members list members
story view or manipulate stories
wf list workflows and their states
workflows list workflows and their states
workspace list stories matching saved workspace query
help [cmd] display help for [cmd]

@@ -43,2 +45,3 @@ ~~~

-s, --state [id|name] Stories in workflow state id/name, by regex
-S, --save [name] Save search configuration as workspace
-t, --text [name] Stories with text in name, by regex

@@ -97,6 +100,37 @@ -y, --type [name] Stories of type, by regex

### Workspace
~~~sh
Usage: club workspace [options]
List stories matching saved workspace query
Options:
-l, --list List saved workspaces
-n, --name [name] Load named workspace
-u, --unset [name] Force unset saved workspace
-h, --help output usage information
~~~
### Members
~~~sh
Usage: club-members [options]
Display members available for stories
Options:
-s, --search [query] List members with name containing query
-d, --disabled List members including disabled
-h, --help output usage information
~~~
### Workflows
~~~sh
Usage: club wf [options]
Usage: club workflows [options]

@@ -103,0 +137,0 @@ Display workflows/states available for stories

@@ -33,5 +33,22 @@ const path = require('path');

const saveWorkspace = (name, workspace) => {
const extant = loadConfig();
let workspaces = extant.workspaces || {};
workspaces[name] = workspace;
return saveConfig(Object.assign({}, extant, {
workspaces
}));
}
const removeWorkspace = (name) => {
const extant = loadConfig();
delete extant.workspaces[name];
return saveConfig(Object.assign({}, extant));
}
module.exports = {
loadConfig,
saveConfig
saveConfig,
saveWorkspace,
removeWorkspace,
};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc