I have a Sinatra program that I am creating and I would like to be able to pass command line arguments to this application at startup. The problem is that I'm not sure how to do this. I tried Trollop and looked at OptParser . Trollop does not seem to work with Sinatra because OptParser seems to be the "default parser" with Sinatra . It's true? If so, how can I customize the types of arguments accepted when the application starts?
source share