Class: MaskSQL::CLI
- Inherits:
-
Thor
- Object
- Thor
- MaskSQL::CLI
- Defined in:
- lib/mask_sql/cli.rb
Instance Method Summary collapse
Instance Method Details
#mask ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/mask_sql/cli.rb', line 16 def mask = .dup if [:config] [:config] = File.([:config]) else default_config = File.('.mask.yml') [:config] = default_config if File.exist?(default_config) end converter = Converter.new() converter.mask puts "\e[32mDone.\e[0m" end |