@@ -10,32 +10,32 @@ use crate::utils::{install, validate_and_convert_path, OS};
1010
1111fn main ( ) {
1212 let cli = Cli :: new ( ) . with_default_command ( "help" ) . with_commands ( vec ! [
13- Command :: new( "version" , "Displays the current version of github-stats" ) . with_short( 'v' ) ,
14- Command :: new( "install" , "Installs the files and directories" ) ,
15- Command :: new( "all" , "Gives all stats found on a repository as json" )
13+ Command :: new( "version" , "Displays the current version of github-stats. " ) . with_short( 'v' ) ,
14+ Command :: new( "install" , "Installs the files and directories. " ) ,
15+ Command :: new( "all" , "Gives all stats found on a repository as json. " )
1616 . with_arg(
1717 Arg :: new( )
1818 . with_name( "user" )
1919 . with_short( 'u' )
2020 . with_long( "user" )
2121 . with_value_name( "USER" )
22- . with_help( "The user who owns the repository" ) ,
22+ . with_help( "The user who owns the repository. " ) ,
2323 )
2424 . with_arg(
2525 Arg :: new( )
2626 . with_name( "repository" )
2727 . with_short( 'r' )
2828 . with_long( "repository" )
2929 . with_value_name( "REPOSITORY" )
30- . with_help( "Name of the repository" ) ,
30+ . with_help( "Name of the repository. " ) ,
3131 )
3232 . with_arg(
3333 Arg :: new( )
3434 . with_name( "output" )
3535 . with_short( 'o' )
3636 . with_long( "output" )
3737 . with_value_name( "OUTPUT" )
38- . with_help( "File path to save the json" ) ,
38+ . with_help( "File path to save the json. " ) ,
3939 )
4040 . with_arg(
4141 Arg :: new( )
@@ -44,51 +44,51 @@ fn main() {
4444 . with_long( "display" )
4545 . with_help( "Converts the json to an easier format (will remove some data)." ) ,
4646 ) ,
47- Command :: new( "releases" , "Gives information on github releases" )
47+ Command :: new( "releases" , "Gives information on github releases. " )
4848 . with_arg(
4949 Arg :: new( )
5050 . with_name( "user" )
5151 . with_short( 'u' )
5252 . with_long( "user" )
5353 . with_value_name( "USER" )
54- . with_help( "The user who owns the repository" ) ,
54+ . with_help( "The user who owns the repository. " ) ,
5555 )
5656 . with_arg(
5757 Arg :: new( )
5858 . with_name( "repository" )
5959 . with_short( 'r' )
6060 . with_long( "repository" )
6161 . with_value_name( "REPOSITORY" )
62- . with_help( "Name of the repository" ) ,
62+ . with_help( "Name of the repository. " ) ,
6363 )
6464 . with_arg(
6565 Arg :: new( )
6666 . with_name( "individual" )
6767 . with_short( 'i' )
6868 . with_long( "individual" )
69- . with_help( "Downloads per release" ) ,
69+ . with_help( "Downloads per release. " ) ,
7070 )
7171 . with_arg(
7272 Arg :: new( )
7373 . with_name( "link" )
7474 . with_short( 'l' )
7575 . with_long( "link" )
76- . with_help( "Download links for releases (if not individual then for latest)" ) ,
76+ . with_help( "Download links for releases (if not individual then for latest). " ) ,
7777 )
7878 . with_arg(
7979 Arg :: new( )
8080 . with_name( "output" )
8181 . with_short( 'o' )
8282 . with_long( "output" )
8383 . with_value_name( "OUTPUT" )
84- . with_help( "File path to save the json" ) ,
84+ . with_help( "File path to save the json. " ) ,
8585 )
8686 . with_arg(
8787 Arg :: new( )
8888 . with_name( "all" )
8989 . with_short( 'a' )
9090 . with_long( "all" )
91- . with_help( "All json from request" ) ,
91+ . with_help( "All json from request. " ) ,
9292 )
9393 . with_arg(
9494 Arg :: new( )
@@ -97,22 +97,22 @@ fn main() {
9797 . with_long( "display" )
9898 . with_help( "Converts the json to an easier format (will remove some data)." ) ,
9999 ) ,
100- Command :: new( "user" , "Gives information about a github user" )
100+ Command :: new( "user" , "Gives information about a github user. " )
101101 . with_arg(
102102 Arg :: new( )
103103 . with_name( "user" )
104104 . with_short( 'u' )
105105 . with_long( "user" )
106106 . with_value_name( "USER" )
107- . with_help( "The user you want information on" ) ,
107+ . with_help( "The user you want information on. " ) ,
108108 )
109109 . with_arg(
110110 Arg :: new( )
111111 . with_name( "output" )
112112 . with_short( 'o' )
113113 . with_long( "output" )
114114 . with_value_name( "OUTPUT" )
115- . with_help( "File path to save the json" ) ,
115+ . with_help( "File path to save the json. " ) ,
116116 )
117117 . with_arg(
118118 Arg :: new( )
@@ -121,7 +121,7 @@ fn main() {
121121 . with_long( "display" )
122122 . with_help( "Converts the json to an easier format (will remove some data)." ) ,
123123 ) ,
124- Command :: new( "help" , "Helps you with the commands" ) . with_short( 'h' ) ,
124+ Command :: new( "help" , "Helps you with the commands. " ) . with_short( 'h' ) ,
125125 ] ) ;
126126
127127 let command = cli. match_commands ( ) ;
0 commit comments