Skip to content

Add a --depth flag for tree output #56

@OussamaM1

Description

@OussamaM1

Useful for large repos: treels -t --depth 2. The ignored pkg/file code already hints at MaxDepth, but the current service path does not expose it.

  • Acceptance: add MaxDepth to options, implement traversal limit, test depth 0, 1, and nested directories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions