Skip to content
This repository has been archived by the owner on Apr 25, 2022. It is now read-only.

Commit

Permalink
fix(chart:list-images): enhance help function and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs committed Mar 15, 2021
1 parent 5c31985 commit 75fec80
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/commands/chart/list-images.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ import Image from "../../model/image";
export default class SaveImage extends Command {
static description = "list the docker images found in a helm chart";

static examples = ["$ megatar chart list-images jenkins/jenkins"];
static examples = [
"$ megatar chart:list-images jenkins/jenkins",
"$ megatar chart:list-images https://github.com/jenkinsci/helm-charts/releases/download/jenkins-3.2.4/jenkins-3.2.4.tgz",
];

static flags = {
help: flags.help({ char: "h" }),
Expand All @@ -18,7 +21,8 @@ export default class SaveImage extends Command {
{
name: "charts",
required: true,
description: "the charts to find the images from",
description:
"the charts to find the images from (can be any value accepted by the helm template command)",
},
];

Expand Down

0 comments on commit 75fec80

Please sign in to comment.