Class: Konfig::CLI
- Inherits:
-
Thor
- Object
- Thor
- Konfig::CLI
- Defined in:
- lib/cli.rb
Instance Method Summary collapse
Instance Method Details
#gs ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/cli.rb', line 9 def gs infile = [:in] workdir = File.dirname(infile) filename = File.basename(infile) provider = Konfig::YamlProvider.new(workdir: workdir, filename: filename) provider.load(false) puts Settings.generate_schema end |