Skip to content

Commit 24d491a

Browse files
refactor(cli): extract gateway commands into commands/gateway module (NVIDIA#2506)
Move gateway management functions (gateway_status, gateway_info, gateway_add, gateway_select, gateway_login, gateway_logout, gateway_list, gateway_remove, gateway_use, gateway_info_not_configured) and their private helpers from run.rs into commands/gateway.rs. Add pub use re-exports in run.rs so main.rs call sites remain unchanged. Extract shared test utilities (EnvVarGuard, with_tmp_xdg) into a crate-level test_utils module to avoid duplication between gateway tests and the remaining run.rs tests. Part of NVIDIA#2304 (PR 2/6). Signed-off-by: Varsha Prasad Narsing <[email protected]>
1 parent 52f9e9e commit 24d491a

5 files changed

Lines changed: 2453 additions & 2415 deletions

File tree

0 commit comments

Comments
 (0)