@@ -8,20 +8,22 @@ module Geode::Commands
88 unless you specify the '--production' flag.
99 DESC
1010
11- add_usage " install [-D|--without-development] [-E|--skip-executables] [--frozen]" \
12- " \n\t [-j|--jobs <n>] [--local] [--production] [-P|--skip-postinstall]"
11+ add_usage " install [-D|--without-development] [-E|--skip-executables] [-F|- -frozen]" \
12+ " \n\t [-j|--jobs <n>] [--local] [--production] [-P|--skip-postinstall] [-s|--spec <file>] "
1313
1414 add_option 'D' , " without-development"
1515 add_option 'E' , " skip-executables"
16- add_option " frozen"
16+ add_option 'F' , " frozen"
1717 add_option 'j' , " jobs" , type: :single
1818 add_option " local"
1919 add_option " production"
2020 add_option 'P' , " skip-postinstall"
21- # add_option 'S ', "shard"
21+ add_option 's ' , " spec " , type: :single
2222 end
2323
2424 def pre_run (arguments : Cling ::Arguments , options : Cling ::Options ) : Nil
25+ super
26+
2527 if options.has? " jobs"
2628 unless options.get(" jobs" ).to_i32?
2729 fatal " Expected flag 'jobs' to be an integer, not a string"
@@ -66,7 +68,7 @@ module Geode::Commands
6668 spawn do
6769 while input = reader.gets
6870 if input.includes? " Fetching"
69- stdout << " • " << input.split(" Fetching " )[1 ] << '\n'
71+ stdout << " • " << input.split(" Fetching " )[1 ].split( ' ' )[ 0 ] << '\n'
7072 end
7173 end
7274 end
0 commit comments