Goal
Make it easy to reproduce a package setup on a new machine.
Description
Add two CLI subcommands (or Settings actions) for profile management:
Export (trx export-profile or Settings → "Export Profile"):
- Collect all packages installed via TRX-managed backends
- Write to
~/.config/trx/profile.toml:
[[packages]]
name = "git"
provider = "apt"
[[packages]]
name = "neovim"
provider = "pacman"
Import (trx import-profile <file>):
- Read
profile.toml
- Install each listed package via the corresponding backend (skip if already installed)
- Show a progress indicator for each package
Works best combined with the CLI batch mode feature (#78).
Tech
Rust, Serde, std::fs
Difficulty
Level 3 – Advanced
Goal
Make it easy to reproduce a package setup on a new machine.
Description
Add two CLI subcommands (or Settings actions) for profile management:
Export (
trx export-profileor Settings → "Export Profile"):~/.config/trx/profile.toml:Import (
trx import-profile <file>):profile.tomlWorks best combined with the CLI batch mode feature (#78).
Tech
Rust, Serde,
std::fsDifficulty
Level 3 – Advanced