class Superbot::CLI::NewCommand
Public Instance Methods
execute()
click to toggle source
# File lib/superbot/cli/new_command.rb, line 25 def execute FileUtils.mkdir path File.write File.join(path, "main.rb"), "visit \"http://example.com\"\n" puts """🤖 created directory #{path} with main.rb Start testing with: superbot run #{path} """ end