File tree Expand file tree Collapse file tree 8 files changed +11
-11
lines changed
Expand file tree Collapse file tree 8 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1010 exit runner . run ARGV
1111rescue => e
1212 puts e . backtrace . reverse if ENV [ 'DEBUG' ]
13- say! "!undred! #{ e . class } !txtrst! \n #{ e . message } "
13+ say! "rib` #{ e . class } ` \n #{ e . message } "
1414 exit 1
1515end
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ Gem::Specification.new do |s|
1515 s . license = 'MIT'
1616 s . required_ruby_version = '>= 2.7.0'
1717
18- s . add_runtime_dependency 'colsole' , '~> 0.6 '
19- s . add_runtime_dependency 'mister_bin' , '~> 0.7.2 '
18+ s . add_runtime_dependency 'colsole' , '~> 0.8' , '>= 0.8.1 '
19+ s . add_runtime_dependency 'mister_bin' , '~> 0.7'
2020
2121 s . metadata [ 'rubygems_mfa_required' ] = 'true'
2222end
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class CLI
1010 def self . runner
1111 runner = MisterBin ::Runner . new version : Completely ::VERSION ,
1212 header : 'Completely - Bash Completions Generator' ,
13- footer : 'Run !txtpur! completely COMMAND --help!txtrst! for more information'
13+ footer : 'Run m` completely COMMAND --help` for more information'
1414
1515 runner . route 'init' , to : Commands ::Init
1616 runner . route 'preview' , to : Commands ::Preview
Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ def config_basename
5151 end
5252
5353 def syntax_warning
54- say! "\n !txtred! WARNING:\n Your configuration is invalid."
55- say! '!txtred! All patterns must start with the same word.'
54+ say! "\n r` WARNING:` \n r`Your configuration is invalid.` "
55+ say! 'r` All patterns must start with the same word.` '
5656 end
5757 end
5858 end
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ def run
2727 wrap = args [ '--wrap' ]
2828 output = wrap ? wrapper_function ( wrap ) : script
2929 File . write output_path , output
30- say "Saved !txtpur! #{ output_path } "
30+ say "Saved m` #{ output_path } ` "
3131 syntax_warning unless completions . valid?
3232 end
3333
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ def run
1515 raise "File already exists: #{ config_path } " if File . exist? config_path
1616
1717 File . write config_path , sample
18- say "Saved !txtpur! #{ config_path } "
18+ say "Saved m` #{ config_path } ` "
1919 end
2020
2121 private
Original file line number Diff line number Diff line change @@ -38,14 +38,14 @@ def run
3838
3939 def show_compline ( compline , filename : nil )
4040 filename ||= 'completely-tester.sh'
41- say "!txtblu!$ !txtgrn! #{ compline } !txtrst! <tab>"
41+ say "b`$` g` #{ compline } ` <tab>"
4242 puts tester . test ( compline ) . join "\n "
4343 puts
4444
4545 return unless keep
4646
4747 File . write filename , tester_script ( compline )
48- say "Saved !txtpur! #{ filename } "
48+ say "Saved m` #{ filename } ` "
4949 end
5050
5151 def complines
Original file line number Diff line number Diff line change 1- Errno::ENOENT
1+ Errno::ENOENT
22No such file or directory @ rb_sysopen - notfound.yaml
You can’t perform that action at this time.
0 commit comments