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 1.16.1 to 1.17.0

.circleci/config.yml

5

CHANGELOG.md

@@ -17,2 +17,7 @@ # Changelog

## [1.17.0] - 2019-03-19
### Added
- Running tests on CircleCI.
- Allow for full JSON output in story format.
## [1.16.1] - 2019-03-13

@@ -19,0 +24,0 @@ ### Fixed

2

package.json
{
"name": "clubhouse-cli",
"version": "1.16.1",
"version": "1.17.0",
"description": "A command line tool for viewing, creating and updating clubhouse.io stories",

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

# clubhouse-cli
[![CircleCI](https://circleci.com/gh/andjosh/clubhouse-cli.svg?style=svg)](https://circleci.com/gh/andjosh/clubhouse-cli)
This is a command line interface for [Clubhouse](https://app.clubhouse.io), focused on the display and manipulation of stories. With this, you can run custom searches, save them as local workspaces, and recall those workspaces. You can also view full stories, update most attributes on a story, and create brand new stories quickly.

@@ -116,2 +118,3 @@

%u Print story updated timestamp (if different from created)
%j Print full story as formatted JSON
~~~

@@ -118,0 +121,0 @@

@@ -210,5 +210,7 @@ const { execSync } = require('child_process');

const owners = story.owners.map(o => `${o.profile.name} (${o.profile.mention_name})`);
const url = `https://app.clubhouse.io/story/${story.id}`;
const project = ` ${story.project.name} (#${story.project.id})`;
log(
format
.replace(/%j/, JSON.stringify({ ...story, url }, null, 2))
.replace(/%i/, chalk.blue.bold(`${story.id}`))

@@ -222,8 +224,8 @@ .replace(/%t/, chalk.blue(`${story.name}`))

/%E/,
story.epic_id ? ` ${(story.epic || {}).name} (#${story.epic_id})` : '_'
story.epic_id ? `${(story.epic || {}).name} (#${story.epic_id})` : '_'
)
.replace(/%p/, ` ${story.project.name} (#${story.project.id})`)
.replace(/%p/, project)
.replace(/%o/, owners.join(', ') || '_')
.replace(/%s/, `${(story.state || {}).name} (#${story.workflow_state_id})`)
.replace(/%u/, `https://app.clubhouse.io/story/${story.id}`)
.replace(/%u/, url)
.replace(/%c/, story.created_at)

@@ -230,0 +232,0 @@ .replace(/%u/, story.updated_at !== story.created_at ? story.updated_at : '_')

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