shellscripts 0.26.0__tar.gz → 0.26.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.
Files changed (63) hide show
  1. {shellscripts-0.26.0 → shellscripts-0.26.2}/PKG-INFO +2 -2
  2. {shellscripts-0.26.0 → shellscripts-0.26.2}/README.md +1 -1
  3. {shellscripts-0.26.0 → shellscripts-0.26.2}/pyproject.toml +2 -2
  4. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/__init__.py +1 -1
  5. shellscripts-0.26.0/setup.cfg +0 -4
  6. shellscripts-0.26.0/src/shell_scripts/commands/bin_links.py +0 -78
  7. shellscripts-0.26.0/src/shellscripts.egg-info/PKG-INFO +0 -300
  8. shellscripts-0.26.0/src/shellscripts.egg-info/SOURCES.txt +0 -61
  9. shellscripts-0.26.0/src/shellscripts.egg-info/dependency_links.txt +0 -1
  10. shellscripts-0.26.0/src/shellscripts.egg-info/entry_points.txt +0 -3
  11. shellscripts-0.26.0/src/shellscripts.egg-info/top_level.txt +0 -1
  12. shellscripts-0.26.0/tests/test_tst_001_002_core.py +0 -279
  13. shellscripts-0.26.0/tests/test_tst_004_bin_links_clean.py +0 -138
  14. shellscripts-0.26.0/tests/test_tst_005_cli_launchers.py +0 -187
  15. shellscripts-0.26.0/tests/test_tst_006_dc_common.py +0 -281
  16. shellscripts-0.26.0/tests/test_tst_007_pdf_commands.py +0 -646
  17. shellscripts-0.26.0/tests/test_tst_008_env_commands.py +0 -205
  18. shellscripts-0.26.0/tests/test_tst_010_req_cmd.py +0 -469
  19. shellscripts-0.26.0/tests/test_tst_011_video_commands.py +0 -194
  20. shellscripts-0.26.0/tests/test_tst_012_workflow_runtime.py +0 -139
  21. shellscripts-0.26.0/tests/test_tst_013_release_pypi_gating.py +0 -257
  22. shellscripts-0.26.0/tests/test_tst_014_pypi_version_source.py +0 -665
  23. shellscripts-0.26.0/tests/test_tst_015_pre_release_check.py +0 -149
  24. shellscripts-0.26.0/tests/test_tst_016_release_precheck_gating.py +0 -151
  25. shellscripts-0.26.0/tests/test_tst_017_agy_command.py +0 -251
  26. shellscripts-0.26.0/tests/test_tst_018_config_cli.py +0 -1171
  27. {shellscripts-0.26.0 → shellscripts-0.26.2}/LICENSE +0 -0
  28. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/__main__.py +0 -0
  29. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/__init__.py +0 -0
  30. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/_dc_common.py +0 -0
  31. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/_yolo_common.py +0 -0
  32. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/agy.py +0 -0
  33. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/claude.py +0 -0
  34. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/clean.py +0 -0
  35. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/codex.py +0 -0
  36. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/copilot.py +0 -0
  37. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/dicom2jpg.py +0 -0
  38. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/dicomviewer.py +0 -0
  39. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/diff_cmd.py +0 -0
  40. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/doxygen_cmd.py +0 -0
  41. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/edit_cmd.py +0 -0
  42. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/opencode.py +0 -0
  43. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/pdf_crop.py +0 -0
  44. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/pdf_merge.py +0 -0
  45. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/pdf_split_by_format.py +0 -0
  46. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/pdf_split_by_toc.py +0 -0
  47. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/pdf_tiler_090.py +0 -0
  48. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/pdf_tiler_100.py +0 -0
  49. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/pdf_toc_clean.py +0 -0
  50. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/req_cmd.py +0 -0
  51. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/tests_cmd.py +0 -0
  52. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/ubuntu_dark_theme.py +0 -0
  53. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/venv_cmd.py +0 -0
  54. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/video2h264.py +0 -0
  55. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/video2h265.py +0 -0
  56. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/view_cmd.py +0 -0
  57. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/vscode_cmd.py +0 -0
  58. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/commands/vsinsider_cmd.py +0 -0
  59. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/config.py +0 -0
  60. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/config_cli.py +0 -0
  61. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/core.py +0 -0
  62. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/utils.py +0 -0
  63. {shellscripts-0.26.0 → shellscripts-0.26.2}/src/shell_scripts/version_check.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: shellscripts
3
- Version: 0.26.0
3
+ Version: 0.26.2
4
4
  Summary: Execute useful shell scripts via an uvx-compatible CLI interface.
5
5
  Author: Francesco Rolando
6
6
  License-Expression: GPL-3.0-only
@@ -31,7 +31,7 @@ Dynamic: license-file
31
31
  > * **No Support or Feature Requests:** Please **do not** open issues, bug reports, or feature requests. They will not be addressed or accepted at this stage of development.
32
32
  > * **No Warranty:** This software is provided **"AS IS"**, without warranty of any kind, express or implied. You may use it strictly for **testing and evaluation purposes** at your own sole risk.
33
33
 
34
- # s/shellScripts (0.26.0)
34
+ # s/shellScripts (0.26.2)
35
35
 
36
36
  <p align="center">
37
37
  <img src="https://img.shields.io/badge/python-3.11%2B-3776AB?style=flat-square&logo=python&logoColor=white" alt="Python 3.11+">
@@ -10,7 +10,7 @@
10
10
  > * **No Support or Feature Requests:** Please **do not** open issues, bug reports, or feature requests. They will not be addressed or accepted at this stage of development.
11
11
  > * **No Warranty:** This software is provided **"AS IS"**, without warranty of any kind, express or implied. You may use it strictly for **testing and evaluation purposes** at your own sole risk.
12
12
 
13
- # s/shellScripts (0.26.0)
13
+ # s/shellScripts (0.26.2)
14
14
 
15
15
  <p align="center">
16
16
  <img src="https://img.shields.io/badge/python-3.11%2B-3776AB?style=flat-square&logo=python&logoColor=white" alt="Python 3.11+">
@@ -1,10 +1,10 @@
1
1
  [build-system]
2
- requires = ["setuptools>=68.0.0", "wheel>=0.41.0", "build>=1.0.0"]
2
+ requires = ["setuptools>=77.0.0", "wheel>=0.41.0", "build>=1.0.0"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "shellscripts"
7
- version = "0.26.0"
7
+ version = "0.26.2"
8
8
  description = "Execute useful shell scripts via an uvx-compatible CLI interface."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -1,4 +1,4 @@
1
- __version__ = "0.26.0"
1
+ __version__ = "0.26.2"
2
2
 
3
3
  from .core import main # noqa: F401
4
4
 
@@ -1,4 +0,0 @@
1
- [egg_info]
2
- tag_build =
3
- tag_date = 0
4
-
@@ -1,78 +0,0 @@
1
- #!/usr/bin/env python3
2
- import sys
3
- from pathlib import Path
4
-
5
- from shell_scripts.utils import print_error
6
-
7
- PROGRAM = "shellscripts"
8
- DESCRIPTION = "Create or update command symlinks in $HOME/bin."
9
-
10
-
11
- def print_help(version):
12
- print(f"Usage: {PROGRAM} bin-links [options] ({version})")
13
- print()
14
- print("bin-links options:")
15
- print(
16
- " <directory> - Source directory containing files to link (default: current dir)."
17
- )
18
- print(" --dest <dir> - Destination directory for symlinks (default: $HOME/bin).")
19
- print(" --help - Show this help message.")
20
-
21
-
22
- def run(args):
23
- src_dir = Path.cwd()
24
- dest_dir = Path.home() / "bin"
25
-
26
- i = 0
27
- while i < len(args):
28
- if args[i] == "--dest":
29
- if i + 1 >= len(args):
30
- print_error("--dest requires a directory path.")
31
- return 1
32
- dest_dir = Path(args[i + 1])
33
- i += 2
34
- elif not args[i].startswith("-"):
35
- src_dir = Path(args[i])
36
- i += 1
37
- else:
38
- print_error(f"Unknown option: {args[i]}")
39
- return 1
40
-
41
- if not src_dir.is_dir():
42
- print_error(f"Source directory not found: {src_dir}")
43
- return 1
44
-
45
- dest_dir.mkdir(parents=True, exist_ok=True)
46
-
47
- for file_path in sorted(src_dir.iterdir()):
48
- if file_path.is_dir():
49
- continue
50
-
51
- filename = file_path.name
52
- abs_src = file_path.resolve()
53
- link_name = filename.removesuffix(".sh")
54
- target_link = dest_dir / link_name
55
-
56
- print(f"Examining: {filename}...")
57
-
58
- if target_link.exists() or target_link.is_symlink():
59
- if target_link.is_symlink():
60
- current_target = target_link.resolve()
61
- if current_target == abs_src:
62
- print(f" [OK] Link already points correctly to {filename}.")
63
- else:
64
- print(" [UPDATE] Link points elsewhere. Updating...")
65
- target_link.unlink()
66
- target_link.symlink_to(abs_src)
67
- else:
68
- print(
69
- f" [ERROR] '{target_link}' is a regular file. "
70
- f"Skipping to avoid data loss.",
71
- file=sys.stderr,
72
- )
73
- else:
74
- print(" [NEW] Creating symlink...")
75
- target_link.symlink_to(abs_src)
76
-
77
- print("--- Operation completed ---")
78
- return 0
@@ -1,300 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: shellscripts
3
- Version: 0.26.0
4
- Summary: Execute useful shell scripts via an uvx-compatible CLI interface.
5
- Author: Francesco Rolando
6
- License-Expression: GPL-3.0-only
7
- Project-URL: Homepage, https://github.com/Ogekuri/shellScripts
8
- Project-URL: Repository, https://github.com/Ogekuri/shellScripts
9
- Keywords: shell,scripts,uv,astral,uvx,cli
10
- Classifier: Development Status :: 4 - Beta
11
- Classifier: Environment :: Console
12
- Classifier: Intended Audience :: Developers
13
- Classifier: Operating System :: POSIX :: Linux
14
- Classifier: Programming Language :: Python :: 3.11
15
- Classifier: Programming Language :: Python :: 3.12
16
- Classifier: Topic :: Software Development
17
- Requires-Python: >=3.11
18
- Description-Content-Type: text/markdown
19
- License-File: LICENSE
20
- Dynamic: license-file
21
-
22
- > [!CAUTION]
23
- > ### 🚨 STRICTLY EXPERIMENTAL — PROOF OF CONCEPT (PRE-ALPHA)
24
- >
25
- > ![Status: Proof of Concept](https://img.shields.io/badge/Status-Proof_of_Concept-red?style=flat-square) ![Stage: Pre-Alpha](https://img.shields.io/badge/Stage-Pre--Alpha-critical?style=flat-square) ![Maintenance: Personal Use Only](https://img.shields.io/badge/Scope-Personal_Use_Only-important?style=flat-square) ![Issues: Closed](https://img.shields.io/badge/Issues_%26_PRs-Not_Accepted-inactive?style=flat-square)
26
- >
27
- > **PLEASE READ CAREFULLY BEFORE USING THIS SOFTWARE:**
28
- >
29
- > * **Very Early Stage:** This project is currently a raw **Proof of Concept (PoC)** in a **pre-alpha** state. It is nowhere near production-ready and may contain severe bugs, breaking changes, or incomplete logic.
30
- > * **Personal Use Only:** This repository is developed, maintained, and shared strictly for **personal use**.
31
- > * **No Support or Feature Requests:** Please **do not** open issues, bug reports, or feature requests. They will not be addressed or accepted at this stage of development.
32
- > * **No Warranty:** This software is provided **"AS IS"**, without warranty of any kind, express or implied. You may use it strictly for **testing and evaluation purposes** at your own sole risk.
33
-
34
- # s/shellScripts (0.26.0)
35
-
36
- <p align="center">
37
- <img src="https://img.shields.io/badge/python-3.11%2B-3776AB?style=flat-square&logo=python&logoColor=white" alt="Python 3.11+">
38
- <img src="https://img.shields.io/badge/license-GPL--3.0-491?style=flat-square" alt="License: GPL-3.0">
39
- <img src="https://img.shields.io/badge/platform-Linux-6A7EC2?style=flat-square&logo=terminal&logoColor=white" alt="Platforms">
40
- <img src="https://img.shields.io/badge/docs-live-b31b1b" alt="Docs">
41
- <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json" alt="uv">
42
- </p>
43
- <p align="center">
44
- <strong>Execute useful shell scripts via an uvx-compatible CLI interface.</strong><br>
45
- <code>shellscripts</code> is a Linux-first command collection for project automation, AI CLI launchers,
46
- PDF/DICOM utilities, development helpers, and editor integrations, exposed through a single command.
47
- <br>
48
- </p>
49
-
50
-
51
- <p align="center">
52
- <a href="#quick-start">Quick Start</a> |
53
- <a href="#feature-highlights">Feature Highlights</a> |
54
- <a href="#management-commands">Upgrading or Removing</a> |
55
- <a href="#shell-scripts">Shell Scripts</a>
56
- </p>
57
-
58
- <p align="center">
59
- <br>
60
- 🚧 <strong>DRAFT:</strong> Proof-of-Concept (PoC) Version 📝 - Work in Progress 🏗️ 🚧<br>
61
- ⚠️ <strong>IMPORTANT NOTICE</strong>: Created with <a href="https://www.npmjs.com/package/pi-usereq"><strong>PI-useReq/pi-usereq</strong></a> 🤖✨ ⚠️<br>
62
- <br>
63
- </p>
64
-
65
-
66
- ## Feature Highlights
67
- - Single CLI entrypoint with command dispatch and grouped built-in help (`shellscripts` and alias `s`).
68
- - Project-context launchers for AI CLIs (`agy`, `claude`, `codex`, `copilot`, `opencode`) and IDEs (`vscode`, `vsinsider`).
69
- - PDF workflow commands for crop, merge, split, TOC cleanup, and tiling.
70
- - DICOM helpers (`dicom2jpg`, `dicomviewer`) and video transcoders (`video2h264`, `video2h265`).
71
- - Project maintenance and automation commands (`req`, `clean`, `venv`, `tests`, `doxygen`, `ubuntu-dark-theme`).
72
- - Startup update notification with rate-limited checks against the PyPI registry.
73
-
74
-
75
- ## Requirements
76
-
77
- - Python `>=3.11`.
78
- - Astral `uv` is required for install and runtime flows (`uv tool install`, `uvx`, `uv run`).
79
- - Git is required for commands that enforce repository-root execution (`agy`, `claude`, `codex`, `copilot`, `opencode`, `clean`, `venv`, `tests`, `doxygen`, `vscode`, `vsinsider`).
80
- - Command-specific external tools are required only for related commands:
81
- - `req` for the `req` command.
82
- - `doxygen` (plus optional `make` and `pdflatex`) for `doxygen`.
83
- - `gs`, `pdfinfo`, `qpdf`, `pdftk`, `plakativ` for PDF commands.
84
- - `ffmpeg` for `video2h264` and `video2h265`.
85
- - Java runtime + PixelMed jars (+ `java-wrappers`) for DICOM commands.
86
-
87
-
88
- ## Quick Start
89
-
90
- ### Prerequisites
91
-
92
- - Install `uv`: [https://docs.astral.sh/uv/getting-started/installation/](https://docs.astral.sh/uv/getting-started/installation/)
93
-
94
-
95
- ### Install / Upgrade
96
-
97
- Install from PyPI (primary distribution channel):
98
-
99
- ```bash
100
- uv tool install shellscripts
101
- ```
102
-
103
- Upgrade to the latest published PyPI release:
104
-
105
- ```bash
106
- s --upgrade
107
- ```
108
-
109
- Force a complete re-download and reinstallation by appending the forced-reinstall options (`--force --reinstall --refresh`) to the configured upgrade command:
110
-
111
- ```bash
112
- s --upgrade --force
113
- ```
114
-
115
-
116
- ### Run Without Installing (uvx)
117
-
118
- ```bash
119
- uvx shellscripts <command> [args...]
120
- ```
121
-
122
-
123
- ### Run From a Local Clone
124
-
125
- ```bash
126
- ./scripts/s.sh <command> [args...]
127
- ```
128
-
129
- or
130
-
131
- ```bash
132
- uv run --project . python -m shell_scripts <command> [args...]
133
- ```
134
-
135
-
136
- ## Install from GitHub (Alternative)
137
-
138
- PyPI is the primary distribution channel. As an alternative, the package can be installed from GitHub Releases, which also hosts intermediate and test releases that are not published on PyPI:
139
-
140
- ```bash
141
- uv tool install shellscripts --force --from git+https://github.com/Ogekuri/shellScripts.git@vX.Y.Z
142
- ```
143
-
144
- Intermediate and test releases are available at: [https://github.com/Ogekuri/shellScripts/releases](https://github.com/Ogekuri/shellScripts/releases).
145
-
146
- To upgrade to the newest tagged GitHub release, regardless of the branch that carries the tag, use the `--dev` (alias `--develop`) flag together with `--upgrade`:
147
-
148
- ```bash
149
- s --upgrade --dev
150
- # or
151
- s --upgrade --develop
152
- ```
153
-
154
- Add `--force` to force a complete re-download and reinstallation of the tagged release:
155
-
156
- ```bash
157
- s --upgrade --develop --force
158
- ```
159
-
160
-
161
- ## Management Commands
162
-
163
- Global syntax:
164
-
165
- ```bash
166
- shellscripts [command] [options]
167
- # or
168
- s [command] [options]
169
- ```
170
-
171
- Built-in management flags:
172
-
173
- - `--help` : show full help or command help (`shellscripts --help <command>`).
174
- - `--version` / `--ver` : print the installed version plus the latest versions available on PyPI and GitHub.
175
- - `--upgrade` : run the configured upgrade command automatically on Linux (installs the latest PyPI release by default), otherwise print the manual command.
176
- - `--upgrade --force` : force download and complete reinstallation by appending `--force --reinstall --refresh` to the `--upgrade` or `--upgrade --dev`/`--upgrade --develop` command.
177
- - `--upgrade --dev` / `--upgrade --develop` : upgrade from the latest tagged GitHub release instead of PyPI, regardless of its source branch.
178
- - `--uninstall` : run configured uninstall command automatically on Linux, otherwise print the manual command.
179
- - `--write-config` : write the default runtime configuration file.
180
-
181
- ### Runtime Configuration
182
-
183
- Generate a default config file:
184
-
185
- ```bash
186
- s --write-config
187
- ```
188
-
189
- Default location:
190
-
191
- ```text
192
- ~/.config/shellScripts/config.json
193
- ```
194
-
195
- Top-level configuration keys:
196
-
197
- - `management`
198
- - `upgrade`: command string executed by `--upgrade` (PyPI install by default).
199
- - `upgrade_develop`: command template executed by `--upgrade --dev`; the `{tag}` placeholder is replaced with the latest GitHub release tag.
200
- - `uninstall`: command string executed by `--uninstall`.
201
- - `dispatch`
202
- - `diff`, `edit`, `view`: each command supports `categories` and `fallback` command vectors.
203
- - `req`
204
- - `providers`: provider list forwarded to external `req`.
205
- - `static_checks`: static-check entries forwarded to external `req`.
206
-
207
-
208
- ## Shell Scripts
209
-
210
- ### Command List
211
-
212
- | Command | Purpose |
213
- |---|---|
214
- | `agy` | Launch Antigravity CLI in YOLO mode (`agy --dangerously-skip-permissions`). |
215
- | `claude` | Launch Claude CLI in YOLO mode (`claude --dangerously-skip-permissions`). |
216
- | `codex` | Launch Codex CLI in YOLO mode (`codex --yolo`). |
217
- | `copilot` | Launch Copilot CLI in YOLO mode (`copilot --yolo`; alternative `--allow-all` documented in help). |
218
- | `opencode` | Launch OpenCode CLI in auto-approval mode (`opencode --auto`). |
219
- | `clean` | Find and delete cache directories under the project root (or a passed directory). |
220
- | `req` | Run useReq bootstrap on current directory, first-level dirs, or recursively. |
221
- | `venv` | Recreate `.venv` and install `requirements.txt` if present. |
222
- | `tests` | Ensure/create `.venv` and run pytest (arguments passed through). |
223
- | `doxygen` | Generate HTML/XML/Markdown docs and optional PDF output. |
224
- | `vscode` | Open project in VS Code with `CODEX_HOME` set. |
225
- | `vsinsider` | Open project in VS Code Insiders with `CODEX_HOME` set. |
226
- | `diff` | Dispatch file differ by MIME/category. |
227
- | `edit` | Dispatch file editor by MIME/category. |
228
- | `view` | Dispatch file viewer by MIME/category. |
229
- | `pdf-crop` | Crop PDF pages with auto or manual bounding boxes. |
230
- | `pdf-merge` | Merge multiple PDFs preserving/rebuilding bookmarks. |
231
- | `pdf-split-by-format` | Split PDFs into parts when page format changes. |
232
- | `pdf-split-by-toc` | Split PDF into chapter files from level-1 TOC entries. |
233
- | `pdf-tiler-090` | Tile PDF to A4 at 90% scale. |
234
- | `pdf-tiler-100` | Tile PDF to A4 at original A1 size. |
235
- | `pdf-toc-clean` | Remove out-of-range TOC entries and write cleaned outputs. |
236
- | `dicom2jpg` | Convert DICOM images to JPEG (PixelMed). |
237
- | `dicomviewer` | Launch PixelMed DICOM viewer. |
238
- | `video2h264` | Convert one video to H.264 MP4 via ffmpeg. |
239
- | `video2h265` | Convert one video to H.265 MP4 via ffmpeg. |
240
- | `ubuntu-dark-theme` | Apply GNOME and Qt dark-theme settings. |
241
-
242
- ### Selected Usage Examples
243
-
244
- Launch Antigravity CLI in YOLO mode (each YOLO command help documents every registered YOLO CLI option in alphabetical order):
245
-
246
- ```bash
247
- s agy
248
- ```
249
-
250
- Run useReq bootstrap on first-level child directories:
251
-
252
- ```bash
253
- s req --dirs
254
- ```
255
-
256
- Clean caches without interactive confirmation:
257
-
258
- ```bash
259
- s clean --yes
260
- ```
261
-
262
- Crop PDF with automatic bbox over a page window:
263
-
264
- ```bash
265
- s pdf-crop --in input.pdf --out cropped.pdf --analyze-pages 1-10 --pages 1-
266
- ```
267
-
268
- Merge PDFs and choose output file:
269
-
270
- ```bash
271
- s pdf-merge -o merged.pdf a.pdf b.pdf c.pdf
272
- ```
273
-
274
- Split PDF by TOC chapters:
275
-
276
- ```bash
277
- s pdf-split-by-toc document.pdf
278
- ```
279
-
280
- Convert a video to H.264 MP4:
281
-
282
- ```bash
283
- s video2h264 input.mov
284
- ```
285
-
286
- Run tests and pass pytest options:
287
-
288
- ```bash
289
- s tests -q -k "pdf"
290
- ```
291
-
292
- Open current git project in VS Code / Insiders:
293
-
294
- ```bash
295
- s vscode
296
- s vsinsider
297
- ```
298
-
299
-
300
- ## Acknowledgments
@@ -1,61 +0,0 @@
1
- LICENSE
2
- README.md
3
- pyproject.toml
4
- src/shell_scripts/__init__.py
5
- src/shell_scripts/__main__.py
6
- src/shell_scripts/config.py
7
- src/shell_scripts/config_cli.py
8
- src/shell_scripts/core.py
9
- src/shell_scripts/utils.py
10
- src/shell_scripts/version_check.py
11
- src/shell_scripts/commands/__init__.py
12
- src/shell_scripts/commands/_dc_common.py
13
- src/shell_scripts/commands/_yolo_common.py
14
- src/shell_scripts/commands/agy.py
15
- src/shell_scripts/commands/bin_links.py
16
- src/shell_scripts/commands/claude.py
17
- src/shell_scripts/commands/clean.py
18
- src/shell_scripts/commands/codex.py
19
- src/shell_scripts/commands/copilot.py
20
- src/shell_scripts/commands/dicom2jpg.py
21
- src/shell_scripts/commands/dicomviewer.py
22
- src/shell_scripts/commands/diff_cmd.py
23
- src/shell_scripts/commands/doxygen_cmd.py
24
- src/shell_scripts/commands/edit_cmd.py
25
- src/shell_scripts/commands/opencode.py
26
- src/shell_scripts/commands/pdf_crop.py
27
- src/shell_scripts/commands/pdf_merge.py
28
- src/shell_scripts/commands/pdf_split_by_format.py
29
- src/shell_scripts/commands/pdf_split_by_toc.py
30
- src/shell_scripts/commands/pdf_tiler_090.py
31
- src/shell_scripts/commands/pdf_tiler_100.py
32
- src/shell_scripts/commands/pdf_toc_clean.py
33
- src/shell_scripts/commands/req_cmd.py
34
- src/shell_scripts/commands/tests_cmd.py
35
- src/shell_scripts/commands/ubuntu_dark_theme.py
36
- src/shell_scripts/commands/venv_cmd.py
37
- src/shell_scripts/commands/video2h264.py
38
- src/shell_scripts/commands/video2h265.py
39
- src/shell_scripts/commands/view_cmd.py
40
- src/shell_scripts/commands/vscode_cmd.py
41
- src/shell_scripts/commands/vsinsider_cmd.py
42
- src/shellscripts.egg-info/PKG-INFO
43
- src/shellscripts.egg-info/SOURCES.txt
44
- src/shellscripts.egg-info/dependency_links.txt
45
- src/shellscripts.egg-info/entry_points.txt
46
- src/shellscripts.egg-info/top_level.txt
47
- tests/test_tst_001_002_core.py
48
- tests/test_tst_004_bin_links_clean.py
49
- tests/test_tst_005_cli_launchers.py
50
- tests/test_tst_006_dc_common.py
51
- tests/test_tst_007_pdf_commands.py
52
- tests/test_tst_008_env_commands.py
53
- tests/test_tst_010_req_cmd.py
54
- tests/test_tst_011_video_commands.py
55
- tests/test_tst_012_workflow_runtime.py
56
- tests/test_tst_013_release_pypi_gating.py
57
- tests/test_tst_014_pypi_version_source.py
58
- tests/test_tst_015_pre_release_check.py
59
- tests/test_tst_016_release_precheck_gating.py
60
- tests/test_tst_017_agy_command.py
61
- tests/test_tst_018_config_cli.py
@@ -1,3 +0,0 @@
1
- [console_scripts]
2
- s = shell_scripts.core:main
3
- shellscripts = shell_scripts.core:main
@@ -1 +0,0 @@
1
- shell_scripts