Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions lib/interface/cli/commands/pipeline/get.cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ const command = new Command({
describe: 'Filter pipelines by project name',
})
.option('label', {
describe: 'Filter by a label',
describe: 'Filter by a label - i.e tags=tag1,tag2',
alias: 'l',
default: [],
})
.option('limit', {
describe: `Limit amount of returned results [default: ${DEFAULTS.GET_LIMIT_RESULTS}]`,
Expand All @@ -65,7 +64,9 @@ const command = new Command({
.option('page', {
describe: 'Paginated page',
default: DEFAULTS.GET_PAGINATED_PAGE,
});
})
.example('codefresh get pipeline --name PIPELINE_NAME', 'Get specific pipeline by it name')
.example('codefresh get pip --label tags=tag1,tag2', 'Get list of pipelines by tag name');
},
handler: async (argv) => {
const { id: ids, name, d: decryptVariables, projectId, project: projectName, all } = argv;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codefresh",
"version": "0.87.1",
"version": "0.87.2",
"description": "Codefresh command line utility",
"main": "index.js",
"preferGlobal": true,
Expand Down