7 Commits

Author SHA1 Message Date
GarandPLG 429fff2c88 Load VeilConfig in VeilFile and handle errors
- VeilFile now stores a VeilConfig and implements Debug.
- load() returns a Result<Self> that reads, parses, or creates a default
  config using anyhow for context.
- Main function loads the configuration, prints detailed errors, and
  exits on failure.
2026-06-06 15:53:32 +02:00
GarandPLG e99dc15dd8 Simplify VeilFile loader API 2026-06-06 13:21:34 +02:00
GarandPLG 3813eaabb3 Add debug flag and config init support
Introduce a `--debug` option and an `Init` subcommand to the CLI.
Add a new `config` module with loader and schema types for reading and
creating a default `veil.yaml` (supporting a local debug config path).
Update `.gitignore`, `default.nix`, and `flake.nix` comments to
reference
the templates directory.
Provide an example configuration template and integrate it into the
application’s entry point.
2026-06-06 11:53:22 +02:00
GarandPLG 6e46e26f7a Rename crate to veil-rs and update Nix scripts
Change package name from veil_rs to veil-rs.
Update Cargo.toml and Cargo.lock accordingly.
Update cargoHash in default.nix for the renamed package.
Comment out postInstall step that renamed the binary.
Rename `args` variable to `_args` in main.rs to silence unused warning.
2026-06-04 12:33:12 +02:00
GarandPLG c78ce27dba Add subcommand support with colored help banner
Enable `clap` color feature, introduce subcommands (Sync, Add, Rm, Ls)
and a
custom before‑help banner, and update `main` to return a `Result`.
2026-06-03 16:35:31 +02:00
GarandPLG f9bebfc938 init 2026-06-03 14:16:45 +02:00
GarandPLG fe9c7e9682 Initial commit 2026-06-03 12:21:19 +02:00