]> git.proxmox.com Git - cargo.git/commit - src/bin/cargo/main.rs
refactor(cli): Delay fix's access to config
authorEd Page <eopage@gmail.com>
Mon, 29 Aug 2022 16:46:54 +0000 (11:46 -0500)
committerEd Page <eopage@gmail.com>
Thu, 1 Sep 2022 00:19:37 +0000 (19:19 -0500)
commitddc21ea4cdf01bf784f063f0815c4aaf0367f0be
tree7ce7d344d754c70925d27fe2edd2420addac41bc
parentd674c2294ba8392ddbd9897ad9a285615f97994b
refactor(cli): Delay fix's access to config

My hope is to make it so we can lazy load the config.  This makes it so
we only load the config for the fix proxy if needed.

I also feel like this better clarifies the intention of the code that we
are running in a special mode.
src/bin/cargo/main.rs
src/cargo/ops/fix.rs
src/cargo/ops/mod.rs