kdebug 0.6.0__tar.gz → 0.6.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kdebug
3
- Version: 0.6.0
3
+ Version: 0.6.2
4
4
  Summary: TUI for Kubernetes Debug Containers
5
5
  Project-URL: Homepage, https://github.com/jessegoodier/kdebug
6
6
  Project-URL: Repository, https://github.com/jessegoodier/kdebug
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "kdebug"
7
- version = "0.6.0"
7
+ version = "0.6.2"
8
8
  description = "TUI for Kubernetes Debug Containers"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -914,24 +914,24 @@ def main():
914
914
 
915
915
  parser = argparse.ArgumentParser(
916
916
  prog="kdebug",
917
- description="""Launch ephemeral debug containers in Kubernetes pods.
917
+ description="""TUI for Kubernetes Debug Containers.
918
+ https://github.com/jessegoodier/kdebug
918
919
 
919
920
  Usage:
920
- kdebug [options] Interactive debug (default)
921
- kdebug debug [options] Interactive debug session
922
- kdebug backup [options] Backup files from pod""",
921
+ kdebug [options] Interactive debug (default)
922
+ kdebug debug -h Show debug options
923
+ kdebug backup -h Show backup options""",
923
924
  formatter_class=KdebugHelpFormatter,
924
925
  epilog="""Examples:
925
926
  kdebug # Interactive TUI
926
- kdebug -n prod --pod api-0 # Direct pod debug
927
- kdebug debug --controller sts/db --cmd sh # Debug with sh
928
- kdebug backup --pod web-0 --container-path /app/config # Backup files
929
- kdebug backup --pod web-0 --container-path /var/data --local-path ./my-backups/{namespace}/{pod}""",
927
+ kdebug -n prod # TUI, different namespace
928
+ kdebug debug --cmd sh --debug-image docker.io/busybox # TUI, with sh/busybox
929
+ kdebug backup --pod web-0 --container-path /app/config # Backup files""",
930
930
  )
931
931
 
932
932
  # Version flag
933
933
  parser.add_argument(
934
- "-V", "--version", action="version", version=f"%(prog)s {__version__}"
934
+ "-v", "--version", action="version", version=f"%(prog)s {__version__}"
935
935
  )
936
936
 
937
937
  # Shared arguments (on main parser so bare `kdebug --pod foo` works)
@@ -71,7 +71,7 @@ _kdebug_controllers() {
71
71
  _kdebug() {
72
72
  local -a shared_args
73
73
  shared_args=(
74
- '(-V --version)'{-V,--version}'[Show version and exit]'
74
+ '(-v --version)'{-v,--version}'[Show version and exit]'
75
75
  '(-h --help)'{-h,--help}'[Show help message]'
76
76
  '--pod[Pod name for direct selection]:pod:_kdebug_pods'
77
77
  '--controller[Controller as TYPE/NAME]:controller:_kdebug_controllers'
@@ -103,7 +103,7 @@ _kdebug() {
103
103
 
104
104
  local shared_opts="--pod --controller -n --namespace --context --kubeconfig
105
105
  --container --debug-image --as-root
106
- --debug --completions -V --version --help -h"
106
+ --debug --completions -v --version --help -h"
107
107
 
108
108
  local debug_opts="--cmd --cd-into"
109
109
  local backup_opts="--container-path --local-path --compress --tar-exclude"
File without changes
File without changes
File without changes
File without changes
File without changes