jx delete repo

list of jx commands

jx delete repo

Deletes one or more Git repositories

Synopsis

Deletes one or more repositories.

This command will require the delete repo role on your Persona Access Token.

Note that command will ask for confirmation before doing anything!

jx delete repo [flags]

Examples

  # Selects the repositories to delete from the given GitHub organisation
  jx delete repo --github --org myname
  
  # Selects all the repositories in organisation myname that contain 'foo'
  # you get a chance to select which ones not to delete
  jx delete repo --github --org myname --all --filter foo

Options

  -a, --all                If selecting projects to delete from a Git provider this defaults to selecting them all
  -f, --filter string      If selecting projects to delete from a Git provider this filters the list of repositories
  -g, --git-host string    The Git server host if not using GitHub
      --github             If you wish to pick the repositories from GitHub to import
  -h, --help               help for repo
  -n, --name stringArray   Specify the Git repository names to delete
  -o, --org string         Specify the Git provider organisation that includes the repository to delete

Options inherited from parent commands

  -b, --batch-mode   Runs in batch mode without prompting for user input
      --verbose      Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace

SEE ALSO

Auto generated by spf13/cobra on 2-Sep-2020