Page MenuHomePhabricator

jobs-framework-cli: display something when involved with no arguments
Closed, ResolvedPublic

Description

Executing toolforge-jobs with no arguments should display some output, ideally the help instructions.

taavi@tools-sgebastion-11:~ $ toolforge-jobs
taavi@tools-sgebastion-11:~ $ toolforge-jobs -h
usage: toolforge-jobs [-h] [--debug] [--kubeconfig KUBECONFIG] [--url URL]
                      [--fqdn FQDN] [--addr ADDR] [--hdr HDR]
                      {containers,run,show,list,delete,flush} ...

Toolforge Jobs Framework, command line interface
[...]

Event Timeline

Change 702697 had a related patch set uploaded (by JJMC89; author: JJMC89):

[cloud/toolforge/jobs-framework-cli@master] Require subparser

https://gerrit.wikimedia.org/r/702697

Change 702697 merged by Arturo Borrero Gonzalez:

[cloud/toolforge/jobs-framework-cli@master] Require subparser

https://gerrit.wikimedia.org/r/702697

JJMC89 removed a project: Patch-For-Review.
JJMC89 moved this task from Waiting for code review to Ready to be worked on on the Toolforge board.