Class: PgEventstore::CLI::Parsers::DefaultParser

Inherits:
BaseParser
  • Object
show all
Defined in:
lib/pg_eventstore/cli/parsers/default_parser.rb

Instance Attribute Summary

Attributes inherited from BaseParser

#args, #options

Class Method Summary collapse

Methods inherited from BaseParser

#initialize, #parse

Constructor Details

This class inherits a constructor from PgEventstore::CLI::Parsers::BaseParser

Class Method Details

Returns:

  • (String)


9
10
11
12
13
14
15
16
17
18
19
# File 'lib/pg_eventstore/cli/parsers/default_parser.rb', line 9

def banner
  <<~TEXT
  Usage: pg-eventstore [options]
         pg-eventstore [command]
        
    Commands:
      subscriptions     Start, stop subscriptions
  
    Options:
TEXT
end