File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed
lib/interface/cli/commands/team Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,13 @@ const command = new Command({
33
33
alias : 'tk' ,
34
34
required : false ,
35
35
} )
36
+ . option ( 'disable-notifications' , {
37
+ describe : 'Github Personal Access Token that overrides the default one (Optional and only valid for Github)' ,
38
+ alias : 'no-notify' ,
39
+ required : false ,
40
+ type : Boolean ,
41
+ default : false
42
+ } )
36
43
. example ( 'codefresh synchronize teams [client-name] -t [client-type] -tk [accessToken]' , 'Synchronize team with group' ) ;
37
44
} ,
38
45
handler : async ( argv ) => {
@@ -47,6 +54,7 @@ const command = new Command({
47
54
name : argv [ 'client-name' ] ,
48
55
type : argv [ 'client-type' ] ,
49
56
access_token : argv [ 'access-token' ] ,
57
+ disableNotifications : argv [ 'disable-notifications' ]
50
58
} ) ;
51
59
} finally {
52
60
spinner . stop ( ) ;
Original file line number Diff line number Diff line change 6802
6802
"schema" : {
6803
6803
"type" : " string"
6804
6804
}
6805
+ },
6806
+ {
6807
+ "in" : " query" ,
6808
+ "name" : " disableNotifications" ,
6809
+ "schema" : {
6810
+ "type" : " boolean"
6811
+ },
6812
+ "required" : false ,
6813
+ "description" : " Disable send notifications"
6805
6814
}
6806
6815
],
6807
6816
"summary" : " Synchronize client with group" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " codefresh" ,
3
- "version" : " 0.31.1 " ,
3
+ "version" : " 0.32.0 " ,
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