clubhouse-cli
Advanced tools
Comparing version 0.7.2 to 0.7.3
{ | ||
"name": "clubhouse-cli", | ||
"version": "0.7.2", | ||
"version": "0.7.3", | ||
"description": "A command line tool for searching,viewing, and updating clubhouse.io stories", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -38,12 +38,12 @@ # clubhouse-cli | ||
-a, --archived Include archived Stories | ||
-I, --idonly Print only ID of story results | ||
-l, --label [id|name] Stories with label id/name, by regex | ||
-o, --owner [name] Stories with owner, by regex | ||
-p, --project [id] Stories in project | ||
-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 | ||
-y, --type [name] Stories of type, by regex | ||
-h, --help output usage information | ||
-a, --archived Include archived Stories | ||
-I, --idonly Print only ID of story results | ||
-l, --label [id|name] Stories with label id/name, by regex | ||
-o, --owner [name] Stories with owner, by regex | ||
-p, --project [id|name] Stories in project | ||
-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 | ||
-y, --type [name] Stories of type, by regex | ||
-h, --help output usage information | ||
~~~ | ||
@@ -50,0 +50,0 @@ |
@@ -42,2 +42,5 @@ const chalk = require('chalk'); | ||
}).filter(s => { | ||
if (!program.archived && s.archived) { | ||
return false; | ||
} | ||
if (!(s.labels | ||
@@ -65,5 +68,2 @@ .map(l => `${l.id},${l.name}`).join(',') + '') | ||
} | ||
if (!program.archived && s.archived) { | ||
return false; | ||
} | ||
return true; | ||
@@ -85,8 +85,8 @@ }); | ||
log(chalk.blue.bold(`#${story.id}`) + chalk.blue(` ${story.name}`)); | ||
log(` Type: ${story.story_type}/${story.estimate || '_'}`); | ||
log(` Label: ${labels.join(', ')}`); | ||
log(' Project: ' + chalk.bold(`#${story.project.id}`) + ` ${story.project.name}`); | ||
log(' Owners: ' + `${owners.join(', ') || '_'}`); | ||
log(' State: ' + chalk.bold(`#${story.workflow_state_id} `) + story.state.name); | ||
log(` URL: https://app.clubhouse.io/story/${story.id}`); | ||
log(` Type: ${story.story_type}/${story.estimate || '_'}`); | ||
log(` Label: ${labels.join(', ')}`); | ||
log(' Project: ' + chalk.bold(`#${story.project.id}`) + ` ${story.project.name}`); | ||
log(' Owners: ' + `${owners.join(', ') || '_'}`); | ||
log(' State: ' + chalk.bold(`#${story.workflow_state_id} `) + story.state.name); | ||
log(` URL: https://app.clubhouse.io/story/${story.id}`); | ||
if (story.archived) { | ||
@@ -93,0 +93,0 @@ log(' archived: ' + chalk.bold(story.archived)); |
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
29096