Sha256: 975a21e7cf372ca90413c924ef9e3d80d22848d67fe4d8ac109fa4850caf8cd4

Contents?: true

Size: 1003 Bytes

Versions: 9

Compression:

Stored size: 1003 Bytes

Contents

module Edge
	require "edge/console"
	require "edge/version"
	@console = Edge::Console.new

  AVAILABLE_TEMPLATE =
<<-EOF.lines.each {|line| line.strip!}
  Currently these are the available templates:
    html - Static HTML template
    php - Standard PHP template
EOF

	SYNTAX_CREATE =
<<-EOF.lines.each {|line| line.strip!}
  #{ @console.cyan('edge create <project_type> <project_name>') }
  #{ @console.yellow('project_type') }
    #{ AVAILABLE_TEMPLATE }
  #{ @console.magenta('project_name') }
    (Optional) If not specified, current directory will be used
EOF

	HELP = 
<<-EOF.lines.each {|line| line.strip!}
--------------------------------------------------------
Welcome to Edge Framework v-#{ Edge::VERSION } (#{ Edge::CODENAME })
--------------------------------------------------------
CREATE TEMPLATE
#{ SYNTAX_CREATE }
EOF

	CREATE_WRONG_SYNTAX = 
<<-EOF.lines.each {|line| line.strip!}

WRONG SYNTAX
The correct syntax is:
#{ SYNTAX_CREATE }
EOF
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
edge_framework-0.9.0 lib/edge/message.rb
edge_framework-0.8.1 lib/edge/message.rb
edge_framework-0.6.1 lib/edge/message.rb
edge_framework-0.6.0 lib/edge/message.rb
edge_framework-0.5.0 lib/edge/message.rb
edge_framework-0.3.0 lib/edge/message.rb
edge_framework-0.2.3 lib/edge/message.rb
edge_framework-0.2.1 lib/edge/message.rb
edge_framework-0.2.0 lib/edge/message.rb