Commit 52157a5
authored
Finalize full refactor of affinity-cli — new modular architecture, CLI, installer discovery, and Wine backend
This merge delivers the first complete, production-ready version of affinity-cli.
Key changes:
- Replaced placeholder commands with a full Click-based CLI.
- Added modular architecture: config loader, installer discovery, Wine executor, and unified main entrypoint.
- Implemented automatic detection of Affinity installers (v1/v2) with intelligent version preference.
- Added runtime config support with validation (paths, prefixes, version overrides).
- Implemented Wine execution layer with silent mode, dry-run, and detailed logging.
- Reworked README with clear user guidance, examples, installer placement, and legal notes.
- Added unit tests for config handling and installer selection.
- Removed outdated/unused modules and streamlined project structure.
This marks the foundation for future features: Proton integration, desktop entry generation, richer status reporting, multi-prefix support, and extended automation.File tree
30 files changed
+550
-4619
lines changed- affinity_cli
- commands
- core
- data
- templates
- utils
- tests
30 files changed
+550
-4619
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
5 | 2 | | |
6 | | - | |
| 3 | + | |
7 | 4 | | |
8 | 5 | | |
Whitespace-only changes.
This file was deleted.
0 commit comments