Class: Xvert::CLI
- Inherits:
-
Thor
- Object
- Thor
- Xvert::CLI
- Defined in:
- lib/xvert/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
9 10 11 |
# File 'lib/xvert/cli.rb', line 9 def exit_on_failure? true end |
Instance Method Details
#jt ⇒ Object
31 32 33 |
# File 'lib/xvert/cli.rb', line 31 def jt run(from: :json, to: :toml) end |
#jy ⇒ Object
26 27 28 |
# File 'lib/xvert/cli.rb', line 26 def jy run(from: :json, to: :yaml) end |
#tj ⇒ Object
54 55 56 |
# File 'lib/xvert/cli.rb', line 54 def tj run(from: :toml, to: :json) end |
#ty ⇒ Object
59 60 61 |
# File 'lib/xvert/cli.rb', line 59 def ty run(from: :toml, to: :yaml) end |
#version ⇒ Object
17 18 19 |
# File 'lib/xvert/cli.rb', line 17 def version puts ::Xvert::VERSION end |
#yj ⇒ Object
40 41 42 |
# File 'lib/xvert/cli.rb', line 40 def yj run(from: :yaml, to: :json) end |
#yt ⇒ Object
45 46 47 |
# File 'lib/xvert/cli.rb', line 45 def yt run(from: :yaml, to: :toml) end |