Feature #9165

Hammer task missing subcommands

Added by Bryan Kearney over 2 years ago. Updated 7 months ago.

Status:New
Priority:Normal
Assigned To:Ivan Necas
Category:-
Target version:Foreman - Team Ivan backlog
Difficulty: Bugzilla link:1143987
Found in release: Pull request:
Story points-
Velocity based estimate-

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:

  1. 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

  1. 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:

History

#1 Updated by Adam Ruzicka 7 months ago

  • Target version set to Team Ivan backlog

Also available in: Atom PDF