@codebend3r/che 1.1.0 → 1.2.1

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.
Files changed (54) hide show
  1. package/README.md +58 -26
  2. package/bin/art.py +22 -20
  3. package/bin/branchsync.py +324 -0
  4. package/bin/che.py +208 -587
  5. package/bin/commands.py +219 -231
  6. package/bin/doctor.py +220 -0
  7. package/bin/drives/eject-all-drives.py +21 -38
  8. package/bin/drives/mount-all-drives.py +18 -62
  9. package/bin/drives/ping-nas.py +77 -105
  10. package/bin/files/compress-folders.py +7 -11
  11. package/bin/files/delete-by-ext.py +10 -14
  12. package/bin/files/delete-empty-folders.py +33 -37
  13. package/bin/files/delete-smb-files.py +12 -21
  14. package/bin/files/files-under-size.py +5 -11
  15. package/bin/files/find-largest-files.py +21 -25
  16. package/bin/files/list-permission.py +40 -0
  17. package/bin/files/make-alpha-dir.py +2 -0
  18. package/bin/git/all-actions.py +350 -253
  19. package/bin/git/checkout-my-branches.py +42 -63
  20. package/bin/git/clean-stale-branches.py +23 -48
  21. package/bin/git/prune-worktrees.py +12 -51
  22. package/bin/git/sync-all-branches.py +75 -297
  23. package/bin/git/update-local-branches.py +67 -73
  24. package/bin/gitutils.py +263 -0
  25. package/bin/install.py +393 -1182
  26. package/bin/machine.py +345 -0
  27. package/bin/media.py +127 -0
  28. package/bin/menu.py +437 -0
  29. package/bin/nas.py +102 -0
  30. package/bin/rcfile.py +380 -0
  31. package/bin/shellgen.py +503 -431
  32. package/bin/system/btop-launch.py +17 -13
  33. package/bin/system/update-brew.py +57 -68
  34. package/bin/tui.py +156 -153
  35. package/bin/utils.py +165 -237
  36. package/bin/video/delete-duplicate-videos.py +64 -62
  37. package/bin/video/detect-green-magenta-videos.py +105 -95
  38. package/bin/video/find-movie-by-year.py +3 -0
  39. package/bin/video/find-video-mkv-issues.py +48 -65
  40. package/bin/video/fix-codecs.py +25 -30
  41. package/bin/video/largest-tv-shows.py +60 -57
  42. package/bin/video/remove-metadata.py +3 -6
  43. package/bin/video/rename-video-file.py +74 -84
  44. package/bin/video/scan-videos-audio-language.py +16 -33
  45. package/bin/video/show-codecs.py +20 -24
  46. package/bin/video/validate-video-files.py +5 -8
  47. package/bin/video/video-list.py +17 -20
  48. package/package.json +4 -10
  49. package/shell/che.bash +33 -33
  50. package/shell/che.fish +7 -7
  51. package/shell/che.zsh +33 -33
  52. package/shell/completions/_che +19 -19
  53. package/shell/completions/che.bash +15 -15
  54. package/shell/completions/che.fish +34 -50
package/shell/che.bash CHANGED
@@ -1,4 +1,4 @@
1
- # che 1.1.0 - generated file, do not edit.
1
+ # che 1.2.1 - generated file, do not edit.
2
2
  #
3
3
  # Generated from bin/commands.py by `che install`.
4
4
  # To change a wrapper, edit that manifest and run `che install` again.
@@ -33,29 +33,6 @@ export CHE_PYTHON
33
33
  # ~/.zshrc that still refers to it keeps resolving.
34
34
  export SHELL_FUNCTIONS_BIN="${CHE_BIN}"
35
35
 
36
- # Play the completion sound for a wrapper, then return the status it was given.
37
- #
38
- # playsound-N is defined outside this repo. Every wrapper used to call it
39
- # unconditionally, which printed "command not found" on a machine that never
40
- # had it; here a missing playsound is simply skipped. Set CHE_SOUNDS=0 to
41
- # silence them all.
42
- che_notify() {
43
- if [ "${CHE_SOUNDS:-1}" = "1" ] && command -v "playsound-$1" >/dev/null 2>&1; then
44
- "playsound-$1" >/dev/null 2>&1
45
- fi
46
- return "${2:-0}"
47
- }
48
-
49
- # The dispatcher. `che` with no arguments opens the interactive menu.
50
- che() {
51
- if [ "$#" -eq 0 ]; then
52
- "$CHE_PYTHON" "$CHE_BIN/che.py"
53
- else
54
- "$CHE_PYTHON" "$CHE_BIN/che.py" "$@"
55
- che_notify 7 $?
56
- fi
57
- }
58
-
59
36
  # Same trap as zsh: with expand_aliases on (every interactive bash), an alias
60
37
  # sharing a name with a wrapper below turns its definition into a syntax error
61
38
  # and the rest of this file never loads. Stash, define, restore - so the user's
@@ -80,9 +57,9 @@ _che_restore_aliases() {
80
57
  _che_stashed_aliases=()
81
58
  }
82
59
 
83
- _che_stash_aliases che all-actions all-actions-watch checkout-my-branches \
84
- clean-stale-branches clean-stale-branches-dr prune-worktrees \
85
- prune-worktrees-dr sync-all-branches sync-all-branches-dr \
60
+ _che_stash_aliases che_notify che all-actions all-actions-watch \
61
+ checkout-my-branches clean-stale-branches clean-stale-branches-dr \
62
+ prune-worktrees prune-worktrees-dr sync-all-branches sync-all-branches-dr \
86
63
  update-from-origin update-local-branches show-codecs fix-codecs \
87
64
  fix-codecs-dr find-video-mkv-issues validate-video-files \
88
65
  scan-videos-audio-language remove-metadata rename-video-file \
@@ -94,11 +71,34 @@ _che_stash_aliases che all-actions all-actions-watch checkout-my-branches \
94
71
  compress-folders list-permission mount-all-drives eject-all-drives \
95
72
  eject-all-drives-dr ping-nas update-brew update-brew-dr btop
96
73
 
74
+ # Play the completion sound for a wrapper, then return the status it was given.
75
+ #
76
+ # playsound-N is defined outside this repo. Every wrapper used to call it
77
+ # unconditionally, which printed "command not found" on a machine that never
78
+ # had it; here a missing playsound is simply skipped. Set CHE_SOUNDS=0 to
79
+ # silence them all.
80
+ che_notify() {
81
+ if [ "${CHE_SOUNDS:-1}" != "0" ] && command -v "playsound-$1" >/dev/null 2>&1; then
82
+ "playsound-$1" >/dev/null 2>&1
83
+ fi
84
+ return "${2:-0}"
85
+ }
86
+
87
+ # The dispatcher. `che` with no arguments opens the interactive menu.
88
+ che() {
89
+ if [ "$#" -eq 0 ]; then
90
+ "$CHE_PYTHON" "$CHE_BIN/che.py"
91
+ else
92
+ "$CHE_PYTHON" "$CHE_BIN/che.py" "$@"
93
+ che_notify 7 $?
94
+ fi
95
+ }
96
+
97
97
  # --------------------------------------------------------------------------
98
98
  # Git - Branch hygiene, worktrees and GitHub Actions
99
99
  # --------------------------------------------------------------------------
100
100
 
101
- # GitHub Actions status for every open PR you authored
101
+ # GitHub Actions status for every open PR and every default branch
102
102
  all-actions() {
103
103
  "$CHE_PYTHON" "$CHE_BIN/git/all-actions.py" "$@"
104
104
  }
@@ -138,21 +138,21 @@ prune-worktrees-dr() {
138
138
  che_notify 7 $?
139
139
  }
140
140
 
141
- # Push every worktree, collapse the pushed ones, then tidy branches
141
+ # Update every branch and worktree, preserving locks and local work
142
142
  sync-all-branches() {
143
143
  DRY_RUN=false "$CHE_PYTHON" "$CHE_BIN/git/sync-all-branches.py" "$@"
144
144
  che_notify 7 $?
145
145
  }
146
146
 
147
- # Push every worktree, collapse the pushed ones, then tidy branches (preview only)
147
+ # Update every branch and worktree, preserving locks and local work (preview only)
148
148
  sync-all-branches-dr() {
149
149
  DRY_RUN=true "$CHE_PYTHON" "$CHE_BIN/git/sync-all-branches.py" "$@"
150
150
  che_notify 7 $?
151
151
  }
152
152
 
153
- # Same as sync-all-branches but never pushes: fetch, collapse, rebase
153
+ # Alias of sync-all-branches
154
154
  update-from-origin() {
155
- DRY_RUN=false "$CHE_PYTHON" "$CHE_BIN/git/sync-all-branches.py" --no-push "$@"
155
+ "$CHE_PYTHON" "$CHE_BIN/git/sync-all-branches.py" --dry-run=false "$@"
156
156
  che_notify 7 $?
157
157
  }
158
158
 
@@ -322,7 +322,7 @@ compress-folders() {
322
322
 
323
323
  # Show ownership and mode of a volume under /Volumes
324
324
  list-permission() {
325
- command ls -ld "/Volumes/$1"
325
+ "$CHE_PYTHON" "$CHE_BIN/files/list-permission.py" "$@"
326
326
  che_notify 7 $?
327
327
  }
328
328
 
package/shell/che.fish CHANGED
@@ -1,4 +1,4 @@
1
- # che 1.1.0 - generated file, do not edit.
1
+ # che 1.2.1 - generated file, do not edit.
2
2
  #
3
3
  # Generated from bin/commands.py by `che install`.
4
4
  # To change a wrapper, edit that manifest and run `che install` again.
@@ -45,7 +45,7 @@ end
45
45
  # Git - Branch hygiene, worktrees and GitHub Actions
46
46
  # --------------------------------------------------------------------------
47
47
 
48
- function all-actions --description 'GitHub Actions status for every open PR you authored'
48
+ function all-actions --description 'GitHub Actions status for every open PR and every default branch'
49
49
  "$CHE_PYTHON" "$CHE_BIN/git/all-actions.py" $argv
50
50
  end
51
51
 
@@ -78,18 +78,18 @@ function prune-worktrees-dr --description 'Remove every linked worktree, then pr
78
78
  che_notify 7 $status
79
79
  end
80
80
 
81
- function sync-all-branches --description 'Push every worktree, collapse the pushed ones, then tidy branches'
81
+ function sync-all-branches --description 'Update every branch and worktree, preserving locks and local work'
82
82
  env DRY_RUN=false "$CHE_PYTHON" "$CHE_BIN/git/sync-all-branches.py" $argv
83
83
  che_notify 7 $status
84
84
  end
85
85
 
86
- function sync-all-branches-dr --description 'Push every worktree, collapse the pushed ones, then tidy branches (preview only)'
86
+ function sync-all-branches-dr --description 'Update every branch and worktree, preserving locks and local work (preview only)'
87
87
  env DRY_RUN=true "$CHE_PYTHON" "$CHE_BIN/git/sync-all-branches.py" $argv
88
88
  che_notify 7 $status
89
89
  end
90
90
 
91
- function update-from-origin --description 'Same as sync-all-branches but never pushes: fetch, collapse, rebase'
92
- env DRY_RUN=false "$CHE_PYTHON" "$CHE_BIN/git/sync-all-branches.py" --no-push $argv
91
+ function update-from-origin --description 'Alias of sync-all-branches'
92
+ "$CHE_PYTHON" "$CHE_BIN/git/sync-all-branches.py" --dry-run=false $argv
93
93
  che_notify 7 $status
94
94
  end
95
95
 
@@ -232,7 +232,7 @@ function compress-folders --description 'Zip every immediate subfolder of a path
232
232
  end
233
233
 
234
234
  function list-permission --description 'Show ownership and mode of a volume under /Volumes'
235
- command ls -ld "/Volumes/$argv[1]"
235
+ "$CHE_PYTHON" "$CHE_BIN/files/list-permission.py" $argv
236
236
  che_notify 7 $status
237
237
  end
238
238
 
package/shell/che.zsh CHANGED
@@ -1,4 +1,4 @@
1
- # che 1.1.0 - generated file, do not edit.
1
+ # che 1.2.1 - generated file, do not edit.
2
2
  #
3
3
  # Generated from bin/commands.py by `che install`.
4
4
  # To change a wrapper, edit that manifest and run `che install` again.
@@ -33,29 +33,6 @@ export CHE_PYTHON
33
33
  # ~/.zshrc that still refers to it keeps resolving.
34
34
  export SHELL_FUNCTIONS_BIN="${CHE_BIN}"
35
35
 
36
- # Play the completion sound for a wrapper, then return the status it was given.
37
- #
38
- # playsound-N is defined outside this repo. Every wrapper used to call it
39
- # unconditionally, which printed "command not found" on a machine that never
40
- # had it; here a missing playsound is simply skipped. Set CHE_SOUNDS=0 to
41
- # silence them all.
42
- che_notify() {
43
- if [ "${CHE_SOUNDS:-1}" = "1" ] && command -v "playsound-$1" >/dev/null 2>&1; then
44
- "playsound-$1" >/dev/null 2>&1
45
- fi
46
- return "${2:-0}"
47
- }
48
-
49
- # The dispatcher. `che` with no arguments opens the interactive menu.
50
- che() {
51
- if [ "$#" -eq 0 ]; then
52
- "$CHE_PYTHON" "$CHE_BIN/che.py"
53
- else
54
- "$CHE_PYTHON" "$CHE_BIN/che.py" "$@"
55
- che_notify 7 $?
56
- fi
57
- }
58
-
59
36
  # An alias sharing a name with a wrapper below is fatal, not cosmetic: zsh
60
37
  # expands aliases while *parsing*, so `remove-metadata() {` becomes
61
38
  # `find ./ -type f …() {` and the parse error aborts the rest of this file -
@@ -86,9 +63,9 @@ _che_restore_aliases() {
86
63
  _che_stashed_aliases=()
87
64
  }
88
65
 
89
- _che_stash_aliases che all-actions all-actions-watch checkout-my-branches \
90
- clean-stale-branches clean-stale-branches-dr prune-worktrees \
91
- prune-worktrees-dr sync-all-branches sync-all-branches-dr \
66
+ _che_stash_aliases che_notify che all-actions all-actions-watch \
67
+ checkout-my-branches clean-stale-branches clean-stale-branches-dr \
68
+ prune-worktrees prune-worktrees-dr sync-all-branches sync-all-branches-dr \
92
69
  update-from-origin update-local-branches show-codecs fix-codecs \
93
70
  fix-codecs-dr find-video-mkv-issues validate-video-files \
94
71
  scan-videos-audio-language remove-metadata rename-video-file \
@@ -100,11 +77,34 @@ _che_stash_aliases che all-actions all-actions-watch checkout-my-branches \
100
77
  compress-folders list-permission mount-all-drives eject-all-drives \
101
78
  eject-all-drives-dr ping-nas update-brew update-brew-dr btop
102
79
 
80
+ # Play the completion sound for a wrapper, then return the status it was given.
81
+ #
82
+ # playsound-N is defined outside this repo. Every wrapper used to call it
83
+ # unconditionally, which printed "command not found" on a machine that never
84
+ # had it; here a missing playsound is simply skipped. Set CHE_SOUNDS=0 to
85
+ # silence them all.
86
+ che_notify() {
87
+ if [ "${CHE_SOUNDS:-1}" != "0" ] && command -v "playsound-$1" >/dev/null 2>&1; then
88
+ "playsound-$1" >/dev/null 2>&1
89
+ fi
90
+ return "${2:-0}"
91
+ }
92
+
93
+ # The dispatcher. `che` with no arguments opens the interactive menu.
94
+ che() {
95
+ if [ "$#" -eq 0 ]; then
96
+ "$CHE_PYTHON" "$CHE_BIN/che.py"
97
+ else
98
+ "$CHE_PYTHON" "$CHE_BIN/che.py" "$@"
99
+ che_notify 7 $?
100
+ fi
101
+ }
102
+
103
103
  # --------------------------------------------------------------------------
104
104
  # Git - Branch hygiene, worktrees and GitHub Actions
105
105
  # --------------------------------------------------------------------------
106
106
 
107
- # GitHub Actions status for every open PR you authored
107
+ # GitHub Actions status for every open PR and every default branch
108
108
  all-actions() {
109
109
  "$CHE_PYTHON" "$CHE_BIN/git/all-actions.py" "$@"
110
110
  }
@@ -144,21 +144,21 @@ prune-worktrees-dr() {
144
144
  che_notify 7 $?
145
145
  }
146
146
 
147
- # Push every worktree, collapse the pushed ones, then tidy branches
147
+ # Update every branch and worktree, preserving locks and local work
148
148
  sync-all-branches() {
149
149
  DRY_RUN=false "$CHE_PYTHON" "$CHE_BIN/git/sync-all-branches.py" "$@"
150
150
  che_notify 7 $?
151
151
  }
152
152
 
153
- # Push every worktree, collapse the pushed ones, then tidy branches (preview only)
153
+ # Update every branch and worktree, preserving locks and local work (preview only)
154
154
  sync-all-branches-dr() {
155
155
  DRY_RUN=true "$CHE_PYTHON" "$CHE_BIN/git/sync-all-branches.py" "$@"
156
156
  che_notify 7 $?
157
157
  }
158
158
 
159
- # Same as sync-all-branches but never pushes: fetch, collapse, rebase
159
+ # Alias of sync-all-branches
160
160
  update-from-origin() {
161
- DRY_RUN=false "$CHE_PYTHON" "$CHE_BIN/git/sync-all-branches.py" --no-push "$@"
161
+ "$CHE_PYTHON" "$CHE_BIN/git/sync-all-branches.py" --dry-run=false "$@"
162
162
  che_notify 7 $?
163
163
  }
164
164
 
@@ -328,7 +328,7 @@ compress-folders() {
328
328
 
329
329
  # Show ownership and mode of a volume under /Volumes
330
330
  list-permission() {
331
- command ls -ld "/Volumes/$1"
331
+ "$CHE_PYTHON" "$CHE_BIN/files/list-permission.py" "$@"
332
332
  che_notify 7 $?
333
333
  }
334
334
 
@@ -1,28 +1,28 @@
1
1
  #compdef che
2
- # che 1.1.0 - generated file, do not edit.
2
+ # che 1.2.1 - generated file, do not edit.
3
3
  #
4
4
  # Generated from bin/commands.py by `che install`.
5
5
  # To change a wrapper, edit that manifest and run `che install` again.
6
6
 
7
7
  _che_flags_for() {
8
8
  case "$1" in
9
- all-actions) print -r -- '--owner= --author= --pr-limit= --interval= --watch --help' ;;
10
- all-actions-watch) print -r -- '--owner= --author= --pr-limit= --interval= --help' ;;
9
+ all-actions) print -r -- '--owner= --author= --pr-limit= --repo-limit= --no-main --interval= --watch --help' ;;
10
+ all-actions-watch) print -r -- '--owner= --author= --pr-limit= --repo-limit= --no-main --interval= --help' ;;
11
11
  checkout-my-branches) print -r -- '--author= --limit= --help' ;;
12
12
  clean-stale-branches) print -r -- '--dry-run --protect= --help' ;;
13
13
  clean-stale-branches-dr) print -r -- '--dry-run --protect= --help' ;;
14
14
  prune-worktrees) print -r -- '--dry-run --force --help' ;;
15
15
  prune-worktrees-dr) print -r -- '--dry-run --force --help' ;;
16
- sync-all-branches) print -r -- '--dry-run --no-push --keep-locked --author= --limit= --help' ;;
17
- sync-all-branches-dr) print -r -- '--dry-run --no-push --keep-locked --author= --limit= --help' ;;
18
- update-from-origin) print -r -- '--dry-run --keep-locked --author= --limit= --help' ;;
16
+ sync-all-branches) print -r -- '--dry-run --author= --limit= --help' ;;
17
+ sync-all-branches-dr) print -r -- '--dry-run --author= --limit= --help' ;;
18
+ update-from-origin) print -r -- '--dry-run --author= --limit= --help' ;;
19
19
  update-local-branches) print -r -- '--limit= --dry-run --help' ;;
20
20
  show-codecs) print -r -- '--path= --verbose --help' ;;
21
21
  fix-codecs) print -r -- '--path= --delete-original --dry-run --help' ;;
22
22
  fix-codecs-dr) print -r -- '--path= --delete-original --dry-run --help' ;;
23
23
  find-video-mkv-issues) print -r -- '--path= --recursive --help' ;;
24
24
  validate-video-files) print -r -- '--path= --verbose --help' ;;
25
- scan-videos-audio-language) print -r -- '- - p a t h --help' ;;
25
+ scan-videos-audio-language) print -r -- '--path= --help' ;;
26
26
  remove-metadata) print -r -- '--path= --exts= --help' ;;
27
27
  rename-video-file) print -r -- '--path= --recursive --rename-folders --capitalize-preps --dry-run --ignore-words= --help' ;;
28
28
  delete-duplicate-videos) print -r -- '--path= --strategy= --dry-run --verbose --help' ;;
@@ -40,22 +40,22 @@ _che_flags_for() {
40
40
  files-under-size) print -r -- '--path= --size= --dry-run --help' ;;
41
41
  files-under-size-dr) print -r -- '--path= --size= --dry-run --help' ;;
42
42
  find-largest-files) print -r -- '--path= --length= --full-path --help' ;;
43
- make-alpha-dir) print -r -- '- - p a t h --help' ;;
43
+ make-alpha-dir) print -r -- '--path= --help' ;;
44
44
  compress-folders) print -r -- '--path= --dry-run --verbose --help' ;;
45
45
  list-permission) print -r -- --help ;;
46
46
  mount-all-drives) print -r -- '--only= --use-ip --quiet --help' ;;
47
47
  eject-all-drives) print -r -- '--dry-run --only= --no-force --no-clear-favorites --quiet --help' ;;
48
48
  eject-all-drives-dr) print -r -- '--dry-run --only= --no-force --no-clear-favorites --quiet --help' ;;
49
49
  ping-nas) print -r -- '--interval= --ping-timeout= --only= --no-remount --use-ip --once --quiet --help' ;;
50
- update-brew) print -r -- '--dry-run --no-cask --no-cleanup --help' ;;
51
- update-brew-dr) print -r -- '--dry-run --no-cask --no-cleanup --help' ;;
50
+ update-brew) print -r -- '--dry-run --no-cask --no-cleanup --no-autoremove --greedy --doctor --help' ;;
51
+ update-brew-dr) print -r -- '--dry-run --no-cask --no-cleanup --no-autoremove --greedy --doctor --help' ;;
52
52
  btop) print -r -- --help ;;
53
- install) print -r -- '--shells= --all-shells --yes --dry-run --no-completions --no-path-shim --replace-legacy --print --help' ;;
54
- update) print -r -- '--check --yes --help' ;;
53
+ install) print -r -- '--shells= --all-shells --yes --dry-run --no-path-shim --no-sounds --replace-legacy --install-deps --print --help' ;;
54
+ update) print -r -- '--check --dry-run --help' ;;
55
55
  doctor) print -r -- '--json --verbose --help' ;;
56
- uninstall) print -r -- '--yes --dry-run --purge --help' ;;
57
- list) print -r -- '--category= --json --dry --help' ;;
58
- completions) print -r -- '- - s h e l l --help' ;;
56
+ uninstall) print -r -- '--dry-run --purge --help' ;;
57
+ list) print -r -- '--category= --json --no-dry --help' ;;
58
+ completions) print -r -- '--shell= --help' ;;
59
59
  *) print -r -- "--help" ;;
60
60
  esac
61
61
  }
@@ -78,16 +78,16 @@ _che_flag_complete() {
78
78
  _che() {
79
79
  local -a subcommands
80
80
  subcommands=(
81
- 'all-actions:GitHub Actions status for every open PR you authored'
81
+ 'all-actions:GitHub Actions status for every open PR and every default branch'
82
82
  'all-actions-watch:Same as all-actions, refreshed on an interval'
83
83
  'checkout-my-branches:Check out recent remote branches you authored that aren'"'"'t local yet'
84
84
  'clean-stale-branches:Delete local branches whose upstream is gone'
85
85
  'clean-stale-branches-dr:Delete local branches whose upstream is gone (preview)'
86
86
  'prune-worktrees:Remove every linked worktree, then prune stale admin records'
87
87
  'prune-worktrees-dr:Remove every linked worktree, then prune stale admin records (preview)'
88
- 'sync-all-branches:Push every worktree, collapse the pushed ones, then tidy branches'
89
- 'sync-all-branches-dr:Push every worktree, collapse the pushed ones, then tidy branches (preview)'
90
- 'update-from-origin:Same as sync-all-branches but never pushes: fetch, collapse, rebase'
88
+ 'sync-all-branches:Update every branch and worktree, preserving locks and local work'
89
+ 'sync-all-branches-dr:Update every branch and worktree, preserving locks and local work (preview)'
90
+ 'update-from-origin:Alias of sync-all-branches'
91
91
  'update-local-branches:Rebase every local branch that has an upstream onto origin'
92
92
  'show-codecs:Report media files outside the Direct Play codec/container set'
93
93
  'fix-codecs:Re-encode media to h265/aac mp4 so it Direct Plays'
@@ -1,4 +1,4 @@
1
- # che 1.1.0 - generated file, do not edit.
1
+ # che 1.2.1 - generated file, do not edit.
2
2
  #
3
3
  # Generated from bin/commands.py by `che install`.
4
4
  # To change a wrapper, edit that manifest and run `che install` again.
@@ -6,23 +6,23 @@
6
6
 
7
7
  _che_flags_for() {
8
8
  case "$1" in
9
- all-actions) echo "--owner= --author= --pr-limit= --interval= --watch --help" ;;
10
- all-actions-watch) echo "--owner= --author= --pr-limit= --interval= --help" ;;
9
+ all-actions) echo "--owner= --author= --pr-limit= --repo-limit= --no-main --interval= --watch --help" ;;
10
+ all-actions-watch) echo "--owner= --author= --pr-limit= --repo-limit= --no-main --interval= --help" ;;
11
11
  checkout-my-branches) echo "--author= --limit= --help" ;;
12
12
  clean-stale-branches) echo "--dry-run --protect= --help" ;;
13
13
  clean-stale-branches-dr) echo "--dry-run --protect= --help" ;;
14
14
  prune-worktrees) echo "--dry-run --force --help" ;;
15
15
  prune-worktrees-dr) echo "--dry-run --force --help" ;;
16
- sync-all-branches) echo "--dry-run --no-push --keep-locked --author= --limit= --help" ;;
17
- sync-all-branches-dr) echo "--dry-run --no-push --keep-locked --author= --limit= --help" ;;
18
- update-from-origin) echo "--dry-run --keep-locked --author= --limit= --help" ;;
16
+ sync-all-branches) echo "--dry-run --author= --limit= --help" ;;
17
+ sync-all-branches-dr) echo "--dry-run --author= --limit= --help" ;;
18
+ update-from-origin) echo "--dry-run --author= --limit= --help" ;;
19
19
  update-local-branches) echo "--limit= --dry-run --help" ;;
20
20
  show-codecs) echo "--path= --verbose --help" ;;
21
21
  fix-codecs) echo "--path= --delete-original --dry-run --help" ;;
22
22
  fix-codecs-dr) echo "--path= --delete-original --dry-run --help" ;;
23
23
  find-video-mkv-issues) echo "--path= --recursive --help" ;;
24
24
  validate-video-files) echo "--path= --verbose --help" ;;
25
- scan-videos-audio-language) echo "- - p a t h --help" ;;
25
+ scan-videos-audio-language) echo "--path= --help" ;;
26
26
  remove-metadata) echo "--path= --exts= --help" ;;
27
27
  rename-video-file) echo "--path= --recursive --rename-folders --capitalize-preps --dry-run --ignore-words= --help" ;;
28
28
  delete-duplicate-videos) echo "--path= --strategy= --dry-run --verbose --help" ;;
@@ -40,22 +40,22 @@ _che_flags_for() {
40
40
  files-under-size) echo "--path= --size= --dry-run --help" ;;
41
41
  files-under-size-dr) echo "--path= --size= --dry-run --help" ;;
42
42
  find-largest-files) echo "--path= --length= --full-path --help" ;;
43
- make-alpha-dir) echo "- - p a t h --help" ;;
43
+ make-alpha-dir) echo "--path= --help" ;;
44
44
  compress-folders) echo "--path= --dry-run --verbose --help" ;;
45
45
  list-permission) echo "--help" ;;
46
46
  mount-all-drives) echo "--only= --use-ip --quiet --help" ;;
47
47
  eject-all-drives) echo "--dry-run --only= --no-force --no-clear-favorites --quiet --help" ;;
48
48
  eject-all-drives-dr) echo "--dry-run --only= --no-force --no-clear-favorites --quiet --help" ;;
49
49
  ping-nas) echo "--interval= --ping-timeout= --only= --no-remount --use-ip --once --quiet --help" ;;
50
- update-brew) echo "--dry-run --no-cask --no-cleanup --help" ;;
51
- update-brew-dr) echo "--dry-run --no-cask --no-cleanup --help" ;;
50
+ update-brew) echo "--dry-run --no-cask --no-cleanup --no-autoremove --greedy --doctor --help" ;;
51
+ update-brew-dr) echo "--dry-run --no-cask --no-cleanup --no-autoremove --greedy --doctor --help" ;;
52
52
  btop) echo "--help" ;;
53
- install) echo "--shells= --all-shells --yes --dry-run --no-completions --no-path-shim --replace-legacy --print --help" ;;
54
- update) echo "--check --yes --help" ;;
53
+ install) echo "--shells= --all-shells --yes --dry-run --no-path-shim --no-sounds --replace-legacy --install-deps --print --help" ;;
54
+ update) echo "--check --dry-run --help" ;;
55
55
  doctor) echo "--json --verbose --help" ;;
56
- uninstall) echo "--yes --dry-run --purge --help" ;;
57
- list) echo "--category= --json --dry --help" ;;
58
- completions) echo "- - s h e l l --help" ;;
56
+ uninstall) echo "--dry-run --purge --help" ;;
57
+ list) echo "--category= --json --no-dry --help" ;;
58
+ completions) echo "--shell= --help" ;;
59
59
  *) echo "--help" ;;
60
60
  esac
61
61
  }
@@ -1,19 +1,19 @@
1
- # che 1.1.0 - generated file, do not edit.
1
+ # che 1.2.1 - generated file, do not edit.
2
2
  #
3
3
  # Generated from bin/commands.py by `che install`.
4
4
  # To change a wrapper, edit that manifest and run `che install` again.
5
5
 
6
6
  complete -c che -f
7
- complete -c che -n __fish_use_subcommand -a all-actions -d 'GitHub Actions status for every open PR you authored'
7
+ complete -c che -n __fish_use_subcommand -a all-actions -d 'GitHub Actions status for every open PR and every default branch'
8
8
  complete -c che -n __fish_use_subcommand -a all-actions-watch -d 'Same as all-actions, refreshed on an interval'
9
9
  complete -c che -n __fish_use_subcommand -a checkout-my-branches -d 'Check out recent remote branches you authored that aren\'t local yet'
10
10
  complete -c che -n __fish_use_subcommand -a clean-stale-branches -d 'Delete local branches whose upstream is gone'
11
11
  complete -c che -n __fish_use_subcommand -a clean-stale-branches-dr -d 'Delete local branches whose upstream is gone (preview)'
12
12
  complete -c che -n __fish_use_subcommand -a prune-worktrees -d 'Remove every linked worktree, then prune stale admin records'
13
13
  complete -c che -n __fish_use_subcommand -a prune-worktrees-dr -d 'Remove every linked worktree, then prune stale admin records (preview)'
14
- complete -c che -n __fish_use_subcommand -a sync-all-branches -d 'Push every worktree, collapse the pushed ones, then tidy branches'
15
- complete -c che -n __fish_use_subcommand -a sync-all-branches-dr -d 'Push every worktree, collapse the pushed ones, then tidy branches (preview)'
16
- complete -c che -n __fish_use_subcommand -a update-from-origin -d 'Same as sync-all-branches but never pushes: fetch, collapse, rebase'
14
+ complete -c che -n __fish_use_subcommand -a sync-all-branches -d 'Update every branch and worktree, preserving locks and local work'
15
+ complete -c che -n __fish_use_subcommand -a sync-all-branches-dr -d 'Update every branch and worktree, preserving locks and local work (preview)'
16
+ complete -c che -n __fish_use_subcommand -a update-from-origin -d 'Alias of sync-all-branches'
17
17
  complete -c che -n __fish_use_subcommand -a update-local-branches -d 'Rebase every local branch that has an upstream onto origin'
18
18
  complete -c che -n __fish_use_subcommand -a show-codecs -d 'Report media files outside the Direct Play codec/container set'
19
19
  complete -c che -n __fish_use_subcommand -a fix-codecs -d 'Re-encode media to h265/aac mp4 so it Direct Plays'
@@ -58,11 +58,15 @@ complete -c che -n __fish_use_subcommand -a completions -d 'Print the completion
58
58
  complete -c che -n "__fish_seen_subcommand_from all-actions" -l owner -r
59
59
  complete -c che -n "__fish_seen_subcommand_from all-actions" -l author -r
60
60
  complete -c che -n "__fish_seen_subcommand_from all-actions" -l pr-limit -r
61
+ complete -c che -n "__fish_seen_subcommand_from all-actions" -l repo-limit -r
62
+ complete -c che -n "__fish_seen_subcommand_from all-actions" -l no-main
61
63
  complete -c che -n "__fish_seen_subcommand_from all-actions" -l interval -r
62
64
  complete -c che -n "__fish_seen_subcommand_from all-actions" -l watch
63
65
  complete -c che -n "__fish_seen_subcommand_from all-actions-watch" -l owner -r
64
66
  complete -c che -n "__fish_seen_subcommand_from all-actions-watch" -l author -r
65
67
  complete -c che -n "__fish_seen_subcommand_from all-actions-watch" -l pr-limit -r
68
+ complete -c che -n "__fish_seen_subcommand_from all-actions-watch" -l repo-limit -r
69
+ complete -c che -n "__fish_seen_subcommand_from all-actions-watch" -l no-main
66
70
  complete -c che -n "__fish_seen_subcommand_from all-actions-watch" -l interval -r
67
71
  complete -c che -n "__fish_seen_subcommand_from checkout-my-branches" -l author -r
68
72
  complete -c che -n "__fish_seen_subcommand_from checkout-my-branches" -l limit -r
@@ -75,17 +79,12 @@ complete -c che -n "__fish_seen_subcommand_from prune-worktrees" -l force
75
79
  complete -c che -n "__fish_seen_subcommand_from prune-worktrees-dr" -l dry-run
76
80
  complete -c che -n "__fish_seen_subcommand_from prune-worktrees-dr" -l force
77
81
  complete -c che -n "__fish_seen_subcommand_from sync-all-branches" -l dry-run
78
- complete -c che -n "__fish_seen_subcommand_from sync-all-branches" -l no-push
79
- complete -c che -n "__fish_seen_subcommand_from sync-all-branches" -l keep-locked
80
82
  complete -c che -n "__fish_seen_subcommand_from sync-all-branches" -l author -r
81
83
  complete -c che -n "__fish_seen_subcommand_from sync-all-branches" -l limit -r
82
84
  complete -c che -n "__fish_seen_subcommand_from sync-all-branches-dr" -l dry-run
83
- complete -c che -n "__fish_seen_subcommand_from sync-all-branches-dr" -l no-push
84
- complete -c che -n "__fish_seen_subcommand_from sync-all-branches-dr" -l keep-locked
85
85
  complete -c che -n "__fish_seen_subcommand_from sync-all-branches-dr" -l author -r
86
86
  complete -c che -n "__fish_seen_subcommand_from sync-all-branches-dr" -l limit -r
87
87
  complete -c che -n "__fish_seen_subcommand_from update-from-origin" -l dry-run
88
- complete -c che -n "__fish_seen_subcommand_from update-from-origin" -l keep-locked
89
88
  complete -c che -n "__fish_seen_subcommand_from update-from-origin" -l author -r
90
89
  complete -c che -n "__fish_seen_subcommand_from update-from-origin" -l limit -r
91
90
  complete -c che -n "__fish_seen_subcommand_from update-local-branches" -l limit -r
@@ -102,12 +101,7 @@ complete -c che -n "__fish_seen_subcommand_from find-video-mkv-issues" -l path -
102
101
  complete -c che -n "__fish_seen_subcommand_from find-video-mkv-issues" -l recursive
103
102
  complete -c che -n "__fish_seen_subcommand_from validate-video-files" -l path -r -F
104
103
  complete -c che -n "__fish_seen_subcommand_from validate-video-files" -l verbose
105
- complete -c che -n "__fish_seen_subcommand_from scan-videos-audio-language" -l -
106
- complete -c che -n "__fish_seen_subcommand_from scan-videos-audio-language" -l -
107
- complete -c che -n "__fish_seen_subcommand_from scan-videos-audio-language" -l p
108
- complete -c che -n "__fish_seen_subcommand_from scan-videos-audio-language" -l a
109
- complete -c che -n "__fish_seen_subcommand_from scan-videos-audio-language" -l t
110
- complete -c che -n "__fish_seen_subcommand_from scan-videos-audio-language" -l h
104
+ complete -c che -n "__fish_seen_subcommand_from scan-videos-audio-language" -l path -r -F
111
105
  complete -c che -n "__fish_seen_subcommand_from remove-metadata" -l path -r -F
112
106
  complete -c che -n "__fish_seen_subcommand_from remove-metadata" -l exts -r
113
107
  complete -c che -n "__fish_seen_subcommand_from rename-video-file" -l path -r -F
@@ -164,12 +158,7 @@ complete -c che -n "__fish_seen_subcommand_from files-under-size-dr" -l dry-run
164
158
  complete -c che -n "__fish_seen_subcommand_from find-largest-files" -l path -r -F
165
159
  complete -c che -n "__fish_seen_subcommand_from find-largest-files" -l length -r
166
160
  complete -c che -n "__fish_seen_subcommand_from find-largest-files" -l full-path
167
- complete -c che -n "__fish_seen_subcommand_from make-alpha-dir" -l -
168
- complete -c che -n "__fish_seen_subcommand_from make-alpha-dir" -l -
169
- complete -c che -n "__fish_seen_subcommand_from make-alpha-dir" -l p
170
- complete -c che -n "__fish_seen_subcommand_from make-alpha-dir" -l a
171
- complete -c che -n "__fish_seen_subcommand_from make-alpha-dir" -l t
172
- complete -c che -n "__fish_seen_subcommand_from make-alpha-dir" -l h
161
+ complete -c che -n "__fish_seen_subcommand_from make-alpha-dir" -l path -r -F
173
162
  complete -c che -n "__fish_seen_subcommand_from compress-folders" -l path -r -F
174
163
  complete -c che -n "__fish_seen_subcommand_from compress-folders" -l dry-run
175
164
  complete -c che -n "__fish_seen_subcommand_from compress-folders" -l verbose
@@ -196,43 +185,47 @@ complete -c che -n "__fish_seen_subcommand_from ping-nas" -l quiet
196
185
  complete -c che -n "__fish_seen_subcommand_from update-brew" -l dry-run
197
186
  complete -c che -n "__fish_seen_subcommand_from update-brew" -l no-cask
198
187
  complete -c che -n "__fish_seen_subcommand_from update-brew" -l no-cleanup
188
+ complete -c che -n "__fish_seen_subcommand_from update-brew" -l no-autoremove
189
+ complete -c che -n "__fish_seen_subcommand_from update-brew" -l greedy
190
+ complete -c che -n "__fish_seen_subcommand_from update-brew" -l doctor
199
191
  complete -c che -n "__fish_seen_subcommand_from update-brew-dr" -l dry-run
200
192
  complete -c che -n "__fish_seen_subcommand_from update-brew-dr" -l no-cask
201
193
  complete -c che -n "__fish_seen_subcommand_from update-brew-dr" -l no-cleanup
194
+ complete -c che -n "__fish_seen_subcommand_from update-brew-dr" -l no-autoremove
195
+ complete -c che -n "__fish_seen_subcommand_from update-brew-dr" -l greedy
196
+ complete -c che -n "__fish_seen_subcommand_from update-brew-dr" -l doctor
202
197
  complete -c che -n "__fish_seen_subcommand_from install" -l shells -r
203
198
  complete -c che -n "__fish_seen_subcommand_from install" -l all-shells
204
199
  complete -c che -n "__fish_seen_subcommand_from install" -l yes
205
200
  complete -c che -n "__fish_seen_subcommand_from install" -l dry-run
206
- complete -c che -n "__fish_seen_subcommand_from install" -l no-completions
207
201
  complete -c che -n "__fish_seen_subcommand_from install" -l no-path-shim
202
+ complete -c che -n "__fish_seen_subcommand_from install" -l no-sounds
208
203
  complete -c che -n "__fish_seen_subcommand_from install" -l replace-legacy
204
+ complete -c che -n "__fish_seen_subcommand_from install" -l install-deps
209
205
  complete -c che -n "__fish_seen_subcommand_from install" -l print
210
206
  complete -c che -n "__fish_seen_subcommand_from update" -l check
211
- complete -c che -n "__fish_seen_subcommand_from update" -l yes
207
+ complete -c che -n "__fish_seen_subcommand_from update" -l dry-run
212
208
  complete -c che -n "__fish_seen_subcommand_from doctor" -l json
213
209
  complete -c che -n "__fish_seen_subcommand_from doctor" -l verbose
214
- complete -c che -n "__fish_seen_subcommand_from uninstall" -l yes
215
210
  complete -c che -n "__fish_seen_subcommand_from uninstall" -l dry-run
216
211
  complete -c che -n "__fish_seen_subcommand_from uninstall" -l purge
217
212
  complete -c che -n "__fish_seen_subcommand_from list" -l category -r
218
213
  complete -c che -n "__fish_seen_subcommand_from list" -l json
219
- complete -c che -n "__fish_seen_subcommand_from list" -l dry
220
- complete -c che -n "__fish_seen_subcommand_from completions" -l -
221
- complete -c che -n "__fish_seen_subcommand_from completions" -l -
222
- complete -c che -n "__fish_seen_subcommand_from completions" -l s
223
- complete -c che -n "__fish_seen_subcommand_from completions" -l h
224
- complete -c che -n "__fish_seen_subcommand_from completions" -l e
225
- complete -c che -n "__fish_seen_subcommand_from completions" -l l
226
- complete -c che -n "__fish_seen_subcommand_from completions" -l l
214
+ complete -c che -n "__fish_seen_subcommand_from list" -l no-dry
215
+ complete -c che -n "__fish_seen_subcommand_from completions" -l shell -r
227
216
 
228
217
  complete -c all-actions -l owner -r
229
218
  complete -c all-actions -l author -r
230
219
  complete -c all-actions -l pr-limit -r
220
+ complete -c all-actions -l repo-limit -r
221
+ complete -c all-actions -l no-main
231
222
  complete -c all-actions -l interval -r
232
223
  complete -c all-actions -l watch
233
224
  complete -c all-actions-watch -l owner -r
234
225
  complete -c all-actions-watch -l author -r
235
226
  complete -c all-actions-watch -l pr-limit -r
227
+ complete -c all-actions-watch -l repo-limit -r
228
+ complete -c all-actions-watch -l no-main
236
229
  complete -c all-actions-watch -l interval -r
237
230
  complete -c checkout-my-branches -l author -r
238
231
  complete -c checkout-my-branches -l limit -r
@@ -245,17 +238,12 @@ complete -c prune-worktrees -l force
245
238
  complete -c prune-worktrees-dr -l dry-run
246
239
  complete -c prune-worktrees-dr -l force
247
240
  complete -c sync-all-branches -l dry-run
248
- complete -c sync-all-branches -l no-push
249
- complete -c sync-all-branches -l keep-locked
250
241
  complete -c sync-all-branches -l author -r
251
242
  complete -c sync-all-branches -l limit -r
252
243
  complete -c sync-all-branches-dr -l dry-run
253
- complete -c sync-all-branches-dr -l no-push
254
- complete -c sync-all-branches-dr -l keep-locked
255
244
  complete -c sync-all-branches-dr -l author -r
256
245
  complete -c sync-all-branches-dr -l limit -r
257
246
  complete -c update-from-origin -l dry-run
258
- complete -c update-from-origin -l keep-locked
259
247
  complete -c update-from-origin -l author -r
260
248
  complete -c update-from-origin -l limit -r
261
249
  complete -c update-local-branches -l limit -r
@@ -272,12 +260,7 @@ complete -c find-video-mkv-issues -l path -r -F
272
260
  complete -c find-video-mkv-issues -l recursive
273
261
  complete -c validate-video-files -l path -r -F
274
262
  complete -c validate-video-files -l verbose
275
- complete -c scan-videos-audio-language -l -
276
- complete -c scan-videos-audio-language -l -
277
- complete -c scan-videos-audio-language -l p
278
- complete -c scan-videos-audio-language -l a
279
- complete -c scan-videos-audio-language -l t
280
- complete -c scan-videos-audio-language -l h
263
+ complete -c scan-videos-audio-language -l path -r -F
281
264
  complete -c remove-metadata -l path -r -F
282
265
  complete -c remove-metadata -l exts -r
283
266
  complete -c rename-video-file -l path -r -F
@@ -334,12 +317,7 @@ complete -c files-under-size-dr -l dry-run
334
317
  complete -c find-largest-files -l path -r -F
335
318
  complete -c find-largest-files -l length -r
336
319
  complete -c find-largest-files -l full-path
337
- complete -c make-alpha-dir -l -
338
- complete -c make-alpha-dir -l -
339
- complete -c make-alpha-dir -l p
340
- complete -c make-alpha-dir -l a
341
- complete -c make-alpha-dir -l t
342
- complete -c make-alpha-dir -l h
320
+ complete -c make-alpha-dir -l path -r -F
343
321
  complete -c compress-folders -l path -r -F
344
322
  complete -c compress-folders -l dry-run
345
323
  complete -c compress-folders -l verbose
@@ -366,6 +344,12 @@ complete -c ping-nas -l quiet
366
344
  complete -c update-brew -l dry-run
367
345
  complete -c update-brew -l no-cask
368
346
  complete -c update-brew -l no-cleanup
347
+ complete -c update-brew -l no-autoremove
348
+ complete -c update-brew -l greedy
349
+ complete -c update-brew -l doctor
369
350
  complete -c update-brew-dr -l dry-run
370
351
  complete -c update-brew-dr -l no-cask
371
352
  complete -c update-brew-dr -l no-cleanup
353
+ complete -c update-brew-dr -l no-autoremove
354
+ complete -c update-brew-dr -l greedy
355
+ complete -c update-brew-dr -l doctor