File tree Expand file tree Collapse file tree 4 files changed +58
-265
lines changed Expand file tree Collapse file tree 4 files changed +58
-265
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " sv " : patch
3
+ ---
4
+
5
+ chore: improve cli help menu
Original file line number Diff line number Diff line change 37
37
"@types/degit" : " ^2.8.6" ,
38
38
"@types/ps-tree" : " ^1.1.6" ,
39
39
"@types/tar-fs" : " ^2.0.4" ,
40
- "commander" : " ^12.1 .0" ,
40
+ "commander" : " ^13.0 .0" ,
41
41
"degit" : " ^2.8.4" ,
42
42
"empathic" : " ^1.0.0" ,
43
43
"package-manager-detector" : " ^0.2.7" ,
Original file line number Diff line number Diff line change @@ -49,7 +49,13 @@ export const helpConfig: HelpConfiguration = {
49
49
}
50
50
51
51
return option . flags ;
52
- }
52
+ } ,
53
+ styleTitle : ( str ) => pc . underline ( str ) ,
54
+ styleCommandText : ( str ) => pc . red ( str ) ,
55
+ styleDescriptionText : ( str ) => pc . gray ( str ) ,
56
+ styleOptionText : ( str ) => pc . white ( str ) ,
57
+ styleArgumentText : ( str ) => pc . white ( str ) ,
58
+ styleSubcommandText : ( str ) => pc . red ( str )
53
59
} ;
54
60
55
61
function formatDescription ( arg : Option | Argument ) : string {
You can’t perform that action at this time.
0 commit comments