Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions kbatch/kbatch/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def delete_cronjob(cronjob_name, kbatch_url, token):
"--output",
help="output format",
type=click.Choice(["json", "table"]),
default="json",
default="table",
)
def list_cronjobs(kbatch_url, token, output):
"""List all the cronjobs."""
Expand Down Expand Up @@ -118,7 +118,7 @@ def list_cronjobs(kbatch_url, token, output):
@click.option(
"-o",
"--output",
default="json",
default="name",
help="Output format.",
type=click.Choice(["json", "name"]),
)
Expand Down Expand Up @@ -209,7 +209,7 @@ def delete_job(job_name, kbatch_url, token):
"--output",
help="output format",
type=click.Choice(["json", "table"]),
default="json",
default="table",
)
def list_jobs(kbatch_url, token, output):
"""List all the jobs."""
Expand Down Expand Up @@ -240,7 +240,7 @@ def list_jobs(kbatch_url, token, output):
@click.option(
"-o",
"--output",
default="json",
default="name",
help="Output format.",
type=click.Choice(["json", "name"]),
)
Expand Down Expand Up @@ -310,7 +310,7 @@ def pod():
"--output",
help="output format",
type=click.Choice(["json", "table", "name"]),
default="json",
default="table",
)
def list_pods(kbatch_url, token, job_name, output):
"""List all the pods."""
Expand Down