Class: PgEventstore::CLI::Parsers::SubscriptionParser

Inherits:
BaseParser
  • Object
show all
Defined in:
lib/pg_eventstore/cli/parsers/subscription_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/subscription_parser.rb', line 9

def banner
  <<~TEXT
    Usage: pg-eventstore subscriptions [command] [options]

      Commands:
        start     Start subscriptions. Example: pg-eventstore subscriptions start -r lib/my_subscriptions.rb
        stop      Stop subscriptions. Example: pg-eventstore subscriptions stop

      Options:
  TEXT
end