Module: Luciq::Commands::QueryArguments
- Included in:
- Query
- Defined in:
- lib/luciq/commands/query_arguments.rb
Overview
Translates CLI flags (@options) into the argument/filter hashes the MCP tools expect. Mixed into Commands::Query; kept separate so the command dispatch stays thin and the flag→argument mapping is easy to test.
Constant Summary collapse
- CRASH_STATUS_IDS =
{ 'open' => 1, 'closed' => 2, 'in_progress' => 3 }.freeze
- BUG_STATUS_IDS =
{ 'new' => 1, 'closed' => 2, 'in_progress' => 3 }.freeze
- BUG_PRIORITY_IDS =
{ 'na' => -1, 'trivial' => 1, 'minor' => 2, 'major' => 3, 'blocker' => 4 }.freeze