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

Version Path
jarrett-quarto-0.2.0 bin/quarto
jarrett-quarto-0.3.0 bin/quarto
jarrett-quarto-0.3.1 bin/quarto
jarrett-quarto-1.1.0 bin/quarto
jarrett-quarto-1.2.0 bin/quarto
jarrett-quarto-1.2.1 bin/quarto
jarrett-quarto-1.3.0 bin/quarto
jarrett-quarto-1.4.0 bin/quarto
jarrett-quarto-1.4.1 bin/quarto
jarrett-quarto-1.5.0 bin/quarto
jarrett-quarto-1.5.1 bin/quarto
jarrett-quarto-1.6.0 bin/quarto
jarrett-quarto-1.6.1 bin/quarto
jarrett-quarto-1.6.2 bin/quarto
jarrett-quarto-1.6.3 bin/quarto