Skip to content

Commit

Permalink
Simply run the app.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucassus committed Nov 17, 2012
1 parent 6bf6407 commit d802e11
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions bin/mongo_browser
Expand Up @@ -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
Expand Down

0 comments on commit d802e11

Please sign in to comment.