From 7323fef07d8b915df93f5256f3171ba0345c3e8d Mon Sep 17 00:00:00 2001 From: Itai Gendler Date: Tue, 13 Feb 2018 14:44:55 +0200 Subject: [PATCH] Add support to filter builds by status pending and elected --- lib/interface/cli/commands/workflow/get.cmd.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/interface/cli/commands/workflow/get.cmd.js b/lib/interface/cli/commands/workflow/get.cmd.js index f1423a5ee..161d41e06 100644 --- a/lib/interface/cli/commands/workflow/get.cmd.js +++ b/lib/interface/cli/commands/workflow/get.cmd.js @@ -34,7 +34,7 @@ const command = new Command({ .option('status', { describe: 'Filter results by statuses', type: Array, - choices: ['error', 'running', 'success', 'terminated'], + choices: ['pending', 'elected', 'error', 'running', 'success', 'terminated'], }) .option('trigger', { describe: 'Filter results by triggers', diff --git a/package.json b/package.json index 67a72321c..756d53ce8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codefresh", - "version": "0.8.17", + "version": "0.8.18", "description": "Codefresh command line utility", "main": "index.js", "preferGlobal": true,