Class: Tembin::CLI
- Inherits:
-
Thor
- Object
- Thor
- Tembin::CLI
- Defined in:
- lib/tembin/cli.rb
Instance Method Summary collapse
Instance Method Details
#apply ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'lib/tembin/cli.rb', line 12 def apply load_redash_credentials Tembin::Applyer.run( Tembin::ElementParser.parse(dsl_file), dry_run: ![:apply] ) end |
#export ⇒ Object
26 27 28 29 30 31 32 33 34 |
# File 'lib/tembin/cli.rb', line 26 def export load_redash_credentials Tembin::Exporter.run( Pathname.new([:dir]), split_sql: ![:disable_split_sql], split_file: [:split_file], ) end |