This repository was archived by the owner on Mar 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -22,28 +22,29 @@ class KMDR {
22
22
. alias ( "e" )
23
23
. description ( "Explain a shell command" )
24
24
. action ( this . explain ) ;
25
+ this . arg . command ( "feedback" ) . alias ( "f" ) . description ( "Send feedback :)" ) . action ( this . feedback ) ;
26
+ this . arg . command ( "info" ) . description ( "Display system-wide information" ) . action ( this . info ) ;
25
27
this . arg . command ( "login [email]" ) . alias ( "l" ) . description ( "Log in to kmdr" ) . action ( this . login ) ;
26
28
this . arg . command ( "logout" ) . description ( "Log out from kmdr" ) . action ( this . logout ) ;
27
- this . arg
28
- . command ( "version" )
29
- . alias ( "v" )
30
- . description ( "Print current version and check for newer releases" )
31
- . action ( this . version ) ;
32
- this . arg . command ( "feedback" ) . alias ( "f" ) . description ( "Send feedback :)" ) . action ( this . feedback ) ;
33
29
this . arg
34
30
. command ( "settings" )
35
31
. alias ( "s" )
36
32
. description ( "Adjust options and preferences" )
37
33
. action ( this . settings ) ;
38
- this . arg . command ( "info" ) . description ( "Display system-wide information" ) . action ( this . info ) ;
34
+ this . arg
35
+ . command ( "version" )
36
+ . alias ( "v" )
37
+ . description ( "Print current version and check for newer releases" )
38
+ . action ( this . version ) ;
39
+
39
40
this . arg . parse ( process . argv ) ;
40
41
41
42
if ( process . argv . length < 3 ) {
42
43
this . arg . help ( ) ;
43
44
}
44
45
}
45
46
46
- private async explain ( command : any , opt : any ) {
47
+ private async explain ( ) {
47
48
const explain = new Explain ( ) ;
48
49
await explain . init ( ) ;
49
50
}
You can’t perform that action at this time.
0 commit comments