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: !options[:apply] ) end
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(options[:dir]), split_sql: !options[:disable_split_sql], split_file: options[:split_file], ) end