Commit Graph

102 Commits

  • refactor: rename cmds module to cmd for better consistency (#2830)
    - Renamed `cmds` module to `cmd` for better naming consistency
    - Reorganized command modules into separate files under src/cmd/
    - Updated all imports and references to use the new module name
    - Fixed missing dependency in webdav.rs to reference core::backup
    - Updated tray module to use new cmd namespace
    - Improved uwp.rs module structure using platform-specific implementations
    - Removed unnecessary imports from various command files
  • refactor: reorganize feat.rs into modular structure (#2827)
    Split the monolithic feat.rs file into specialized modules:
    - backup.rs: WebDAV backup and restore functions
    - clash.rs: Core management and testing functions
    - config.rs: Configuration handling
    - profile.rs: Profile management
    - proxy.rs: Proxy and TUN mode controls
    - window.rs: Dashboard window management
    
    This improves code organization, readability, and maintainability
    by grouping related functionality into logical modules.