repo mirror list: --sort help names the key, not the header · Entire

repo mirror list: --sort help names the key, not the header

dbb4651→main·

gtrrz-victor·1w ago·1 file·+1 added/-1 removed

You sort by the column key (name, clone-url), not the displayed header (NAME (owner/repo)); the help said "column name", which read as the header. Name the key and give key examples.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

Sessions

01KX0P6JRYS4ZB80EXP3X5MKF5View transcript

[?
Rename Repo Column to Name for ConsistencyClaude Code·3 steps](/content/gh/entireio/cli/session/dec0d061-ea6a-4326-b5dd-6ba25b48eed6#timeline-01KX0P6JRYS4ZB80EXP3X5MKF5/index.html)

Changes

1

596 unmodified lines

597
598
599
600
600
601
602
603

596 unmodified lines

cmd.Flags().StringVar(&provider, "provider", "", "Filter by upstream provider (e.g. github)")
    cmd.Flags().StringVar(&owner, "owner", "", "Filter by upstream owner login")
    cmd.Flags().StringVar(&name, "name", "", "Filter by owner/repo substring, matching the NAME column (case-insensitive)")
    cmd.Flags().StringVar(&sortSpec, "sort", "", "Sort by column (column name; prefix '-' for descending). Default: name ascending")
    cmd.Flags().StringVar(&sortSpec, "sort", "", "Sort by column key (e.g. name, clone-url; prefix '-' for descending). Default: name ascending")
    cmd.Flags().BoolVar(&showAvailable, "show-available", false, "Instead of existing mirrors, list GitHub repos you could onboard as mirrors (ignores --cluster/--provider)")
    return cmd
}

Mcmd/entire/cli/repo_mirror.go+1/-1