#!/usr/bin/env ruby require 'edge_framework' command = ARGV[0] type = ARGV[1] name = ARGV[2] if command == nil || command == 'help' || command == '-h' Edge.help() elsif command == 'create' if ARGV.length >= 4 Edge.command_too_long() else Edge.create( type, name ) end else Edge.not_found( command ) end