Project

General

Profile

Actions

Bug #4448

closed

hammer --interactive still prompts

Added by Thomas McKay about 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Hammer core
Target version:
-
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Copied to re-open: http://projects.theforeman.org/issues/4378

hammer --interactive=false activation-key list

This still prompts to list the next page of results.

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 :)

Related issues 1 (0 open1 closed)

Copied from Hammer CLI - Bug #4378: hammer --interactive still promptsClosedTomáš Strachota02/18/2014Actions
Actions #1

Updated by Thomas McKay about 10 years ago

  • Copied from Bug #4378: hammer --interactive still prompts added
Actions #2

Updated by Dominic Cleal about 10 years ago

  • Assignee deleted (Tomáš Strachota)
  • Target version deleted (1.9.1)
Actions #3

Updated by Tomáš Strachota about 10 years ago

  • Status changed from New to Need more information

This is expected behaviour. Pagination is independent of interactivity. There's a RFE for turning pagination off in the api http://projects.theforeman.org/issues/3652 We could connect it with interactivity when it's fixed.

Regarding the -i flag: it makes sense for me only if the interactivity was disabled by default. I'd vote for -n when it switches it off. I've created a separate issue for that: http://projects.theforeman.org/issues/4530

I'm for closing this one if you have nothing against.

Actions #4

Updated by Thomas McKay over 9 years ago

  • Status changed from Need more information to Closed

Unwilling to argue; closed.

Actions

Also available in: Atom PDF