@@ -11,7 +11,7 @@ const authManager = require('../../../../logic').auth.manager;
11
11
const run = new Command ( {
12
12
root : true ,
13
13
command : 'run <name>' ,
14
- description : 'Run a pipeline and attach the created workflow logs.' ,
14
+ description : 'Run a pipeline by id or name and attach the created workflow logs.' ,
15
15
usage : 'Returns an exit code according to the workflow finish status (Success: 0, Error: 1, Terminated: 2)' ,
16
16
webDocs : {
17
17
category : 'Pipelines' ,
@@ -55,11 +55,11 @@ const run = new Command({
55
55
describe : 'Run pipeline with contexts' ,
56
56
default : [ ] ,
57
57
} )
58
- . example ( 'codefresh run PIPELINE_ID -b=master' , 'Defining the source control context using a branch' )
59
- . example ( 'codefresh run PIPELINE_ID -s=52b992e783d2f84dd0123c70ac8623b4f0f938d1' , 'Defining the source control context using a commit' )
60
- . example ( 'codefresh run PIPELINE_ID -b=master -v key1=value1 -v key2=value2' , 'Setting variables through the command' )
61
- . example ( 'codefresh run PIPELINE_ID -b=master --var-file ./var_file.yml' , 'Settings variables through a yml file' )
62
- . example ( 'codefresh run PIPELINE_ID -b=master --context context' , 'Inject contexts to the pipeline execution' ) ;
58
+ . example ( 'codefresh run PIPELINE_ID | PIPELINE_NAME -b=master' , 'Defining the source control context using a branch' )
59
+ . example ( 'codefresh run PIPELINE_ID | PIPELINE_NAME -s=52b992e783d2f84dd0123c70ac8623b4f0f938d1' , 'Defining the source control context using a commit' )
60
+ . example ( 'codefresh run PIPELINE_ID | PIPELINE_NAME -b=master -v key1=value1 -v key2=value2' , 'Setting variables through the command' )
61
+ . example ( 'codefresh run PIPELINE_ID | PIPELINE_NAME -b=master --var-file ./var_file.yml' , 'Settings variables through a yml file' )
62
+ . example ( 'codefresh run PIPELINE_ID | PIPELINE_NAME -b=master --context context' , 'Inject contexts to the pipeline execution' ) ;
63
63
64
64
crudFilenameOption ( yargs , {
65
65
name : 'variable-file' ,
0 commit comments