docs(repo): tidy `mirror get` help wrapping, mention .git tolerance · Entire

docs(repo): tidy mirror get help wrapping, mention .git tolerance

93416fa→main·

toothbrush·1w ago·1 file·+6 added/-6 removed

Co-Authored-By: Claude Fable 5 noreply@anthropic.com

Changes

1

420 unmodified lines

421
422
423
424
425
426
427
428
429
424
425
426
427
428
429
430
431
432

420 unmodified lines

return &cobra.Command{
        Use:   "get <mirror>",
        Short: "Show a mirror by ULID or clone URL",
        Long: "Show a mirror. <mirror> is either a mirror ULID or an entire:// clone " +
            "URL\n(entire://<cluster>/gh/<owner>/<repo>) — the form `mirror list` " +
            "prints and `git clone` accepts. A clone URL is looked up on the core " +
            "fronting\nits cluster, so it resolves even when that cluster belongs to " +
            "a federation\nother than the active auth context; a ULID is looked up " +
            "on the active context.",
        Long: "Show a mirror. <mirror> is either a mirror ULID or an entire:// clone URL\n" +
            "(entire://<cluster>/gh/<owner>/<repo>) — the form `mirror list` prints and\n" +
            "`git clone` accepts; a trailing .git, as pasted from `git remote -v`, is\n" +
            "accepted too. A clone URL is looked up on the core fronting its cluster, so\n" +
            "it resolves even when that cluster belongs to a federation other than the\n" +
            "active auth context; a ULID is looked up on the active context.",
        Example: "  entire repo mirror get 01KS6KFJR2XS6PZ188MVYE07AN\n" +
            "  entire repo mirror get entire://aws-us-east-2.entire.io/gh/octocat/hello-world",
        Args: cobra.ExactArgs(1),

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