Commit 3481c34
committed
refactor: move generic command wrappers to dedicated module
Move ansible.rs, ssh.rs, lxd/, and opentofu/ modules into a new
command_wrappers/ directory to better organize generic command
wrappers that contain no app-specific logic.
These wrappers could be moved to a shared workspace package in
the future for use across other Torrust projects.
Changes:
- Create src/command_wrappers/ with proper module structure
- Move all generic command wrappers to new location
- Update all import statements across the codebase
- Add re-exports for maintaining API compatibility
- Update library documentation to reflect new organization
- Fix clippy documentation lint issue1 parent 5014c11 commit 3481c34
File tree
17 files changed
+27
-18
lines changed- src
- actions
- bin
- command_wrappers
- lxd
- instance
- opentofu
17 files changed
+27
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
284 | | - | |
285 | | - | |
| 283 | + | |
286 | 284 | | |
287 | 285 | | |
288 | 286 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments