class Fission::CommandLineParser
def setup_options_parser
@cli.setup_option_parser
Examples:
Internal: Sets up the base option parser.
def setup_options_parser @options_parser = OptionParser.new do |opts| opts.banner = "\nUsage: fission [options] COMMAND [arguments]" opts.on_head('-v', '--version', 'Output the version of fission') do ui.output VERSION exit 0 end opts.on_head('-h', '--help', 'Displays this message') do show_all_help exit 0 end end end