kdebug 0.6.6__tar.gz → 0.6.7__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.6
3
+ Version: 0.6.7
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.6"
7
+ version = "0.6.7"
8
8
  description = "TUI for Kubernetes Debug Containers"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -962,7 +962,7 @@ Usage:
962
962
  options_group.add_argument(
963
963
  "--container",
964
964
  metavar="NAME",
965
- help="Target container for process namespace sharing",
965
+ help="Target container name (for process namespace sharing)",
966
966
  )
967
967
  options_group.add_argument(
968
968
  "--debug-image",
@@ -982,7 +982,7 @@ Usage:
982
982
  "--completions",
983
983
  choices=["bash", "zsh", "fish"],
984
984
  metavar="SHELL",
985
- help="Output shell completion script",
985
+ help="Output shell completion script (bash, zsh, fish)",
986
986
  )
987
987
 
988
988
  # Debug-specific args also registered on the main parser so that naked usage
@@ -1026,7 +1026,7 @@ Usage:
1026
1026
  _shared_opts.add_argument(
1027
1027
  "--container",
1028
1028
  metavar="NAME",
1029
- help="Target container for process namespace sharing",
1029
+ help="Target container name (for process namespace sharing)",
1030
1030
  )
1031
1031
  _shared_opts.add_argument(
1032
1032
  "--debug-image",
@@ -1059,7 +1059,9 @@ Usage:
1059
1059
  metavar="DIR",
1060
1060
  help="Change to directory on start (via /proc/1/root)",
1061
1061
  )
1062
- debug_parser.add_argument("--verbose", action="store_true", help=argparse.SUPPRESS)
1062
+ debug_parser.add_argument(
1063
+ "--verbose", action="store_true", help="Show kubectl commands being executed"
1064
+ )
1063
1065
 
1064
1066
  # backup subcommand
1065
1067
  backup_parser = subparsers.add_parser(
@@ -1095,7 +1097,9 @@ Usage:
1095
1097
  help="Exclude a path when using --compress; may be repeated. "
1096
1098
  "/proc/1/root is prepended automatically.",
1097
1099
  )
1098
- backup_parser.add_argument("--verbose", action="store_true", help=argparse.SUPPRESS)
1100
+ backup_parser.add_argument(
1101
+ "--verbose", action="store_true", help="Show kubectl commands being executed"
1102
+ )
1099
1103
 
1100
1104
  args = parser.parse_args()
1101
1105
 
@@ -81,7 +81,7 @@ _kdebug() {
81
81
  '--container[Target container for process namespace sharing]:container:'
82
82
  '--debug-image[Debug container image]:image:'
83
83
  '--as-root[Run debug container as root]'
84
- '--debug[Show kubectl commands being executed]'
84
+ '--verbose[Show kubectl commands being executed]'
85
85
  '--completions[Output shell completion script]:shell:(bash zsh fish)'
86
86
  )
87
87
 
@@ -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
+ --verbose --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"
@@ -112,10 +112,12 @@ complete -c kdebug -l container -d 'Target container for process namespace shari
112
112
  complete -c kdebug -l debug-image -d 'Debug container image' -x
113
113
  complete -c kdebug -l cmd -d 'Command to run in debug container' -x
114
114
  complete -c kdebug -l cd-into -d 'Change to directory on start' -rF
115
- complete -c kdebug -l backup -d 'Copy path from pod to local backups' -x
115
+ complete -c kdebug -l container-path -d 'Path inside the container to back up' -x
116
+ complete -c kdebug -l local-path -d 'Local destination (supports {namespace},{pod},{date},{container})' -x
116
117
  complete -c kdebug -l compress -d 'Compress backup as tar.gz'
118
+ complete -c kdebug -l tar-exclude -d 'Exclude path from compressed backup (repeatable)' -x
117
119
  complete -c kdebug -l as-root -d 'Run debug container as root'
118
- complete -c kdebug -l debug -d 'Show kubectl commands being executed'
120
+ complete -c kdebug -l verbose -d 'Show kubectl commands being executed'
119
121
  complete -c kdebug -l completions -d 'Output shell completion script' -xa 'bash zsh fish'
120
- complete -c kdebug -s V -l version -d 'Show version and exit'
122
+ complete -c kdebug -s v -l version -d 'Show version and exit'
121
123
  complete -c kdebug -s h -l help -d 'Show help message'
File without changes
File without changes
File without changes
File without changes
File without changes