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({
3333 alias : 'tk' ,
3434 required : false ,
3535 } )
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+ } )
3643 . example ( 'codefresh synchronize teams [client-name] -t [client-type] -tk [accessToken]' , 'Synchronize team with group' ) ;
3744 } ,
3845 handler : async ( argv ) => {
@@ -47,6 +54,7 @@ const command = new Command({
4754 name : argv [ 'client-name' ] ,
4855 type : argv [ 'client-type' ] ,
4956 access_token : argv [ 'access-token' ] ,
57+ disableNotifications : argv [ 'disable-notifications' ]
5058 } ) ;
5159 } finally {
5260 spinner . stop ( ) ;
Original file line number Diff line number Diff line change 68026802 "schema" : {
68036803 "type" : " string"
68046804 }
6805+ },
6806+ {
6807+ "in" : " query" ,
6808+ "name" : " disableNotifications" ,
6809+ "schema" : {
6810+ "type" : " boolean"
6811+ },
6812+ "required" : false ,
6813+ "description" : " Disable send notifications"
68056814 }
68066815 ],
68076816 "summary" : " Synchronize client with group" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " codefresh" ,
3- "version" : " 0.31.1 " ,
3+ "version" : " 0.32.0 " ,
44 "description" : " Codefresh command line utility" ,
55 "main" : " index.js" ,
66 "preferGlobal" : true ,
You can’t perform that action at this time.
0 commit comments