Module: Teems::Commands::CalSubcommandParser

Included in:
Cal
Defined in:
lib/teems/commands/cal.rb

Overview

Subcommand parsing for cal command

Constant Summary collapse

RSVP_ACTIONS =
%w[accept decline tentative].freeze
SUBCOMMAND_PARSERS =
{
  'show' => :parse_show_subcommand, 'today' => :parse_today_subcommand,
  'tomorrow' => :parse_tomorrow_subcommand, 'create' => :parse_create_subcommand,
  'delete' => :parse_delete_subcommand
}.freeze