Sha256: 98821a4ec14ed0747818a39fef57ed376d8dd5853acbcfa4a2f3f6957e71c341

Contents?: true

Size: 299 Bytes

Versions: 7

Compression:

Stored size: 299 Bytes

Contents

GLI.desc 'Generates a specific file required for Glyph releases'
arg_name "file_name"
command :generate do |c|
	c.action do |global_options,options,args|
		if args.blank? then
			raise RuntimeError, "You must specify a file to generate"
		else
			Glyph.run 'custom:generate', args[0]
		end
	end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
glyph-0.5.3.1 book/lib/commands/commands.rb
glyph-0.5.2 book/lib/commands/commands.rb
glyph-0.5.1 book/lib/commands/commands.rb
glyph-0.5.0 book/lib/commands/commands.rb
glyph-0.4.2 book/lib/commands/commands.rb
glyph-0.4.1 book/lib/commands/commands.rb
glyph-0.4.0 book/lib/commands/commands.rb