Skip to content

Commit 07a5c83

Browse files
refactor(cli): extract provider commands into commands/provider module
Move all provider-related functions, helpers, constants, and tests from the monolithic run.rs (~2,700 lines) into a dedicated commands/provider.rs module. This is PR3 of the CLI refactor series (issue #2304). The extraction follows the same pattern established in PR2 (gateway): - Self-contained module with own imports - pub use re-exports in run.rs so callers (main.rs) are unchanged - Inline #[cfg(test)] mod tests Signed-off-by: Varsha Prasad Narsing <vnarsing@nvidia.com> Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
1 parent 8328412 commit 07a5c83

3 files changed

Lines changed: 2738 additions & 2699 deletions

File tree

crates/openshell-cli/src/commands/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33

44
pub mod common;
55
pub mod gateway;
6+
pub mod provider;

0 commit comments

Comments
 (0)