Project

General

Profile

Actions

Bug #36961

open

Hammer shell and 'command line' hammer behave differently with certain inputs

Added by Quinn James 6 months ago. Updated 6 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Some commands fail unexpectedly when using `hammer shell`.

How to reproduce:
  1. Run `hammer report-template list` to find the id of your 'Subscription - Entitlement Report'. Please substitute this id for commands below.
  2. Run `hammer report-template generate --id <id> --report-format yaml --inputs "Days from Now"="no limit"`. This should execute without error and return the report.
  3. Run `hammer shell` to enter the hammer shell.
  4. Inside the shell, run `report-template generate --id 150 --report-format yaml --inputs "Days from Now"="no limit"`. My shell unexpectedly errors with the following: `Error: Option '--inputs': Value must be defined as a comma-separated list of key=value or valid JSON..`
Actions #1

Updated by Quinn James 6 months ago

  • Project changed from Katello to Hammer CLI
  • Category deleted (Hammer)
Actions

Also available in: Atom PDF