lib/my_scripts/cli.rb
def run( script_name, argv, argf=ARGF )
      script = script_class_name(script_name).to_class
      raise ScriptNameError.new("Script #{script_class_name(script_name)} not found") unless script
      
      script.new(script_name, self, argv, argf).run
    end
def run( script_name, argv, argf=ARGF )
      script = script_class_name(script_name).to_class
      raise ScriptNameError.new("Script #{script_class_name(script_name)} not found") unless script
      
      script.new(script_name, self, argv, argf).run
    end
Creates new command line interface
 Runs a script with given name (token) and argv inside this CLI instance