aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-02-22 12:53:07 +0900
committernsfisis <nsfisis@gmail.com>2026-02-22 12:53:07 +0900
commitf8358b7c94e52da868a223832f1ccc417b4beedf (patch)
tree80f59a0fe7c8ded1b043dddcf85b4c60458d7c4e /crates/mozart/src/commands.rs
parentf2386320d1934f7e52b4cda36d19c86c239423b0 (diff)
downloadphp-mozart-f8358b7c94e52da868a223832f1ccc417b4beedf.tar.gz
php-mozart-f8358b7c94e52da868a223832f1ccc417b4beedf.tar.zst
php-mozart-f8358b7c94e52da868a223832f1ccc417b4beedf.zip
feat(repository): implement repository command with all actions
Extract shared helpers (composer_home, read/write_json_file, add/remove_repository, render_value) from config.rs into config_helpers.rs module. Implement all 7 repository actions: list, add, remove, set-url, get-url, disable, enable with --append/--before/--after positioning support. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart/src/commands.rs')
-rw-r--r--crates/mozart/src/commands.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/mozart/src/commands.rs b/crates/mozart/src/commands.rs
index cf3300f..968763f 100644
--- a/crates/mozart/src/commands.rs
+++ b/crates/mozart/src/commands.rs
@@ -7,6 +7,7 @@ pub mod check_platform_reqs;
pub mod clear_cache;
pub mod completion;
pub mod config;
+pub mod config_helpers;
pub mod create_project;
pub mod dependency;
pub mod depends;