@@ -11,7 +11,7 @@ const authManager = require('../../../../logic').auth.manager;
1111const run = new Command ( {
1212 root : true ,
1313 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.' ,
1515 usage : 'Returns an exit code according to the workflow finish status (Success: 0, Error: 1, Terminated: 2)' ,
1616 webDocs : {
1717 category : 'Pipelines' ,
@@ -55,11 +55,11 @@ const run = new Command({
5555 describe : 'Run pipeline with contexts' ,
5656 default : [ ] ,
5757 } )
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' ) ;
6363
6464 crudFilenameOption ( yargs , {
6565 name : 'variable-file' ,
0 commit comments