Skip to content

Commit 88bc9b9

Browse files
CR-20734-update documentation for pipeline label filter. (#850)
1 parent 010087f commit 88bc9b9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

lib/interface/cli/commands/pipeline/get.cmd.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,8 @@ const command = new Command({
5252
describe: 'Filter pipelines by project name',
5353
})
5454
.option('label', {
55-
describe: 'Filter by a label',
55+
describe: 'Filter by a label - i.e tags=tag1,tag2',
5656
alias: 'l',
57-
default: [],
5857
})
5958
.option('limit', {
6059
describe: `Limit amount of returned results [default: ${DEFAULTS.GET_LIMIT_RESULTS}]`,
@@ -65,7 +64,9 @@ const command = new Command({
6564
.option('page', {
6665
describe: 'Paginated page',
6766
default: DEFAULTS.GET_PAGINATED_PAGE,
68-
});
67+
})
68+
.example('codefresh get pipeline --name PIPELINE_NAME', 'Get specific pipeline by it name')
69+
.example('codefresh get pip --label tags=tag1,tag2', 'Get list of pipelines by tag name');
6970
},
7071
handler: async (argv) => {
7172
const { id: ids, name, d: decryptVariables, projectId, project: projectName, all } = argv;

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.87.1",
3+
"version": "0.87.2",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)