sadrive.commands.navigate module#

Provides interactive navigation and mounting commands for SA-Drive: - navigate: Traverse the folder hierarchy in the terminal. - mount: Mount the SA-Drive remote locally using gclone.

sadrive.commands.navigate.navigatehelp(parent_id: str, path: List[str] = [])[source]#

Helper function for navigating through SA-Drive folders.

Presents an interactive list of current folder’s children and handles user selection to move into subfolders, go back, or exit.

Parameters:
  • parent_id – Drive folder ID to list children.

  • path – Accumulated path segments for display.

Returns:

‘exit’ to signal termination, None to continue navigation.