Sha256: 94cd6a615c3c4057a2b4c06f377be59c18dab96afc505dd169bc6eb97e43ecc3

Contents?: true

Size: 248 Bytes

Versions: 2

Compression:

Stored size: 248 Bytes

Contents

# encoding: utf-8

d 'Add a new text file to the project'
arg_name "file_name"
command :add do |c|
	c.action do |global_options,options,args|
		exit_now! "Please specify a file name.", -20 if args.blank?
		Glyph.run 'project:add', args[0]
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
glyph-0.5.3.1 lib/glyph/commands/add.rb
glyph-0.5.2 lib/glyph/commands/add.rb