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

felipecrs/megatar

Repository files navigation

Megatar

Create full offline Helm chart packages.

oclif Version Downloads/week License

Usage

$ npm install -g megatar
$ megatar COMMAND
running command...
$ megatar (-v|--version|version)
megatar/1.2.1 linux-x64 node-v14.16.1
$ megatar --help [COMMAND]
USAGE
  $ megatar COMMAND
...

Commands

megatar autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ megatar autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ megatar autocomplete
  $ megatar autocomplete bash
  $ megatar autocomplete zsh
  $ megatar autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

megatar chart:list-images CHARTS

list the docker images found in a helm chart

USAGE
  $ megatar chart:list-images CHARTS

ARGUMENTS
  CHARTS  the charts to find the images from (can be any value accepted by the helm template command)

OPTIONS
  -h, --help  show CLI help

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

See code: src/commands/chart/list-images.ts

megatar help [COMMAND]

display help for megatar

USAGE
  $ megatar help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

megatar save-image IMAGE

save a docker image to a tgz file

USAGE
  $ megatar save-image IMAGE

ARGUMENTS
  IMAGE  the docker image to save

OPTIONS
  -h, --help                 show CLI help
  -t, --new-tag=new-tag      the new tag to write in the image
  --[no-]discard-repository  whether to discard the repository and registry fields or not

EXAMPLES
  $ megatar save-image hello-world
  $ megatar save-image hello-world --new-tag test

See code: src/commands/save-image.ts