Skip to content

Feature Request: Add --prefix option to directly navigate to specific S3 path on startup #75

Closed

Description

@kkoshin

Currently, STU supports the --bucket option to directly open a specific S3 bucket, but there's no way to navigate directly to a specific path within that bucket. Users must manually navigate through the folder hierarchy using the UI.

Current Behavior:

stu --bucket my-bucket  
# Opens bucket root, then user must navigate: folder1/ -> folder2/ -> target/

Requested Feature:

stu --bucket my-bucket --prefix folder1/folder2/target/  
# Should directly open the specified path within the bucket

Use Case:
When working with deeply nested S3 structures (e.g., logs/application/prod/2024/01/), it would be much more efficient to jump directly to the target location rather than clicking through multiple folder levels each time.

Activity

  1. added
    enhancement
    on Aug 5, 2025
  2. midgramr commented on Jun 30, 2026

    @midgramr

    Adding to this, would it be possible to allow an option to just paste a full S3 URI and have the TUI open directly to that path (either a bucket or a specific file)? My team at work shares a lot of resources as S3 URIs, and removing the extra step of breaking it into bucket and prefix would speed up my workflow.

    Something like:

    stu --uri 's3://path/to/resource'
  3. lusingander commented on Jun 30, 2026

    @lusingander
    Owner

    @midgramr
    I created an issue because it seems worth considering. #106

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions