Bug #4378

hammer --interactive still prompts

Added by Thomas McKay over 3 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Tomáš Strachota
Category:Hammer core
Target version:Foreman - Sprint 20
Difficulty: Bugzilla link:
Found in release: Pull request:
Story points-
Velocity based estimate-

Description

hammer --interactive=false activation-key list

This still prompts to list the next page of results.


Related issues

Copied to Hammer CLI - Bug #4448: hammer --interactive still prompts Closed 02/18/2014

Associated revisions

Revision 7787a5b8
Added by Tomas Strachota over 3 years ago

Fixes #4378 - --interactive=false still prompts

Revision 224a6d35
Added by Tomas Strachota over 3 years ago

Merge pull request #86 from tstrachota/interactive

Fixes #4378 - --interactive=false still prompts

History

#1 Updated by Lukas Zapletal over 3 years ago

+1

Also I don't like the form of this option, too long to type in. Please provide an single-dash alias that simply goes into noninteractive mode.

#2 Updated by Tomáš Strachota over 3 years ago

  • Status changed from New to Ready For Testing
  • Assigned To set to Tomáš Strachota
  • Target version set to Sprint 20

#3 Updated by Tomáš Strachota over 3 years ago

Btw Lzap, you can disable interactivity permanently in the config file if you want https://github.com/theforeman/hammer-cli/blob/master/config/cli_config.template.yml#L12

#4 Updated by Anonymous over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Applied in changeset foreman:hammer-cli|commit:7787a5b8249e4c53bb5bdd3f981c8488b84b3ffe.

#5 Updated by Thomas McKay over 3 years ago

  • Status changed from Closed to New
I would like to re-open this issue:
  1. With '--interactive=no' only the first page of results are listed, not all of them.
  2. Also a short option (eg. -i) would be useful while you're in the code :)

#6 Updated by Thomas McKay over 3 years ago

  • Status changed from New to Closed

#7 Updated by Thomas McKay over 3 years ago

  • Copied to Bug #4448: hammer --interactive still prompts added

Also available in: Atom PDF