File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
lib/interface/cli/commands/trigger Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
theme = " docdock"
2
- baseurl = " http ://cli.codefresh.io"
2
+ baseurl = " https ://cli.codefresh.io"
3
3
title = " Codefresh CLI Documentation"
4
4
publishDir = " ../public"
5
5
languageCode = " en-us"
Original file line number Diff line number Diff line change @@ -38,9 +38,11 @@ const command = new Command({
38
38
. option ( 'context' , {
39
39
describe : 'context with credentials required to setup event on remote system' ,
40
40
} )
41
- . example ( 'codefresh create trigger-event --type registry --kind dockerhub --secret XYZ1234 --value namespace=codefresh --value name=fortune --context dockerhub' , 'Create registry/dockerhub trigger-event' )
42
- . example ( 'codefresh create trigger-event --type cron --kind codefresh --secret XYZ1234 --value expression="0 0 */1 * * *" --value message=hello' , 'Create cron (once in hour) trigger-event' )
43
- . example ( 'codefresh create trigger-event --type cron --kind codefresh --secret XYZ1234 --value expression="@daily" --value message=hello-all' , 'Create public daily cron trigger-event' ) ;
41
+ . example ( 'codefresh create trigger-event --type registry --kind dockerhub --value namespace=codefresh --value name=fortune --value action=push' , 'Create registry/dockerhub trigger-event' )
42
+ . example ( 'codefresh create trigger-event --type cron --kind codefresh --value expression="0 0 */1 * * *" --value message=hello' , 'Create cron (once in hour) trigger-event' )
43
+ . example ( 'codefresh create trigger-event --type cron --kind codefresh --value expression="@daily" --value message=hello-all' , 'Create daily cron trigger-event' )
44
+ . example ( 'codefresh create trigger-event --type git --kind github --value owner=codefresh-io --value name=cf-api --value action=push' , 'Create git trigger-event' ) ;
45
+
44
46
} ,
45
47
handler : async ( argv ) => {
46
48
const values = prepareKeyValueFromCLIEnvOption ( argv . value ) ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const getRoot = require('../../root/get.cmd');
9
9
const command = new Command ( {
10
10
command : 'trigger-types' ,
11
11
parent : getRoot ,
12
- description : 'Get a list of system-wide available ` trigger-types` or specified `trigger-type` ' ,
12
+ description : 'Get a list of available trigger-types' ,
13
13
webDocs : {
14
14
category : 'Triggers' ,
15
15
title : 'Get Trigger Types' ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " codefresh" ,
3
- "version" : " 0.8.32 " ,
3
+ "version" : " 0.8.33 " ,
4
4
"description" : " Codefresh command line utility" ,
5
5
"main" : " index.js" ,
6
6
"preferGlobal" : true ,
You can’t perform that action at this time.
0 commit comments