Skip to content

Commit d0b851b

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 NVIDIA#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 <[email protected]> Signed-off-by: Varsha Prasad Narsing <[email protected]>
1 parent c5f8366 commit d0b851b

3 files changed

Lines changed: 2763 additions & 2724 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)