#!/bin/ruby require_relative('../lib/daftos.rb') case ARGV.first when "start" puts "Starting daftos server..." Daftos.start when "stop" puts "Stopping daftos server." Daftos.stop puts "Server stopped." else puts "Unknown command." end