module EacRubyUtils::Console::DocoptRunner::SubcommandsSupport::SubcommandArgAsList

def subcommand_name

def subcommand_name
  available_subcommands.each do |subcommand|
    return subcommand if options.fetch(subcommand)
  end
  nil
end

def subcommands_target_doc

def subcommands_target_doc
  "\n"
end

def target_doc_subcommand_arg

def target_doc_subcommand_arg
  '(' + available_subcommands.join('|') + ')'
end