From d802e111eeb0f990c36e301d3876bc9f6c2af8c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Bandzarewicz?= Date: Sat, 17 Nov 2012 13:55:04 +0100 Subject: [PATCH] Simply run the app. --- bin/mongo_browser | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/bin/mongo_browser b/bin/mongo_browser index a2e7c4c..3aa3687 100755 --- a/bin/mongo_browser +++ b/bin/mongo_browser @@ -8,33 +8,10 @@ class App include Methadone::Main include Methadone::CLILogging - main do # Add args you want: |like,so| - # your program code here - # You can access CLI options via - # the options Hash + main do + MongoBrowser::Application.run! end - # supplemental methods here - - # Declare command-line interface here - - # description "one line description of your app" - # - # Accept flags via: - # on("--flag VAL","Some flag") - # options[flag] will contain VAL - # - # Specify switches via: - # on("--[no-]switch","Some switch") - # - # Or, just call OptionParser methods on opts - # - # Require an argument - # arg :some_arg - # - # # Make an argument optional - # arg :optional_arg, :optional - version MongoBrowser::VERSION use_log_level_option