Feature #9165
closedHammer task missing info subcommand
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1143987
Description of problem:
The hammer task has only 1 action progress. This is inconsistent with the other commands that have list, info, update.
Especially the list is a missing feature, because you cannot retrieve a list of possible ID / names of the tasks that are running or were stopped.
See below the inconsistency of the subcommand compared to sync-plan:
- hammer task --help
[Foreman] username:
[Foreman] password for :
Usage:
hammer task [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND subcommand
[ARG] ... subcommand arguments
Subcommands:
progress Show the progress of the task
- hammer sync-plan --help
[Foreman] username:
[Foreman] password for :
Usage:
hammer sync-plan [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND subcommand
[ARG] ... subcommand arguments
Subcommands:
create Create a sync plan
delete Destroy a sync plan
info Show a sync plan
list List sync plans
update Update a sync plan
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
hammer task have also list, info subcommands to be consistent.
hammer task list to list tasks, optionally with a filter on running,stopped,paused and maybe time limited.
Additional info:
Updated by Bryan Kearney over 6 years ago
- Subject changed from Hammer task missing subcommands to Hammer task missing info subcommand
Updated by Shira Maximov almost 6 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-foreman-tasks|590efb3d73f9d1dfa14bb2d42da8c63cf439bdc7.