Sha256: 4da7c33668792a468298cfb82c6dfcf096cd749a38de4969108f640f5e120be0
Contents?: true
Size: 506 Bytes
Versions: 15
Compression:
Stored size: 506 Bytes
Contents
#!/usr/bin/env ruby def require_quarto $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + "/../lib")) require 'quarto' end case ARGV[0] when 'help' when 'init' require_quarto project_path = ARGV[1] || Dir.getwd Quarto.init_project(project_path) exit 0 when 'generate' require_quarto project_path = ARGV[1] || Dir.getwd Quarto.generate_from_project_path(project_path) exit 0 else puts "Usage:\n quarto init [project_path]\n quarto generate [project_path]\n quarto help" exit -1 end
Version data entries
15 entries across 15 versions & 1 rubygems