René's URL Explorer Experiment


Title: fix: Update cli usage template for cobra feature parity by mafredri · Pull Request #1463 · coder/coder · GitHub

Open Graph Title: fix: Update cli usage template for cobra feature parity by mafredri · Pull Request #1463 · coder/coder

X Title: fix: Update cli usage template for cobra feature parity by mafredri · Pull Request #1463 · coder/coder

Description: Secure environments for developers and their agents - fix: Update cli usage template for cobra feature parity by mafredri · Pull Request #1463 · coder/coder

Open Graph Description: This PR updates the custom usage template for feature parity with the default template used in Cobra. I've restored the custom heading names and colorization. Changes: We now display Usage pro...

X Description: This PR updates the custom usage template for feature parity with the default template used in Cobra. I've restored the custom heading names and colorization. Changes: We now display Usage...

Opengraph URL: https://github.com/coder/coder/pull/1463

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:22b5b163-5fe1-f2f8-a018-cfc45b109f7d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC61E:14ECB:271B79E:31AFAD2:6B0196AF
html-safe-noncede99145fa6a4fe4380eb352aab29f710b23be854dfd4ff7e5918b0f7cde1b708
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjFFOjE0RUNCOjI3MUI3OUU6MzFBRkFEMjo2QjAxOTZBRiIsInZpc2l0b3JfaWQiOiIzNTMwMTgyMjg0MDgwNjgyNjcxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6e2e6604e1552885419cdef5aea38474824bae9bdc5b5bc4bfb49afe0aeeb9e0
hovercard-subject-tagpull_request:937194531
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/coder/coder/1463/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9f53364fdb2114f690a68a2d69c14d5eaa465f0636dda80a5e017665262038ad/coder/coder/pull/1463
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9f53364fdb2114f690a68a2d69c14d5eaa465f0636dda80a5e017665262038ad/coder/coder/pull/1463
og:image:altThis PR updates the custom usage template for feature parity with the default template used in Cobra. I've restored the custom heading names and colorization. Changes: We now display Usage pro...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemafredri
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/1463#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F1463
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F1463
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/1463
Reloadhttps://github.com/coder/coder/pull/1463
Reloadhttps://github.com/coder/coder/pull/1463
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
mafredrihttps://github.com/mafredri
mainhttps://github.com/coder/coder/tree/main
mafredri/fix-cli-helphttps://github.com/coder/coder/tree/mafredri/fix-cli-help
Conversationhttps://github.com/coder/coder/pull/1463
Commits5 (5)https://github.com/coder/coder/pull/1463/commits
Checkshttps://github.com/coder/coder/pull/1463/checks
Files changedhttps://github.com/coder/coder/pull/1463/files
fix: Update cli usage template for cobra feature parityhttps://github.com/coder/coder/pull/1463#top
mafredrihttps://github.com/mafredri
mainhttps://github.com/coder/coder/tree/main
mafredri/fix-cli-helphttps://github.com/coder/coder/tree/mafredri/fix-cli-help
https://github.com/mafredri
mafredrihttps://github.com/mafredri
May 16, 2022https://github.com/coder/coder/pull/1463#issue-1236810612
Please reload this pagehttps://github.com/coder/coder/pull/1463
#1233https://github.com/coder/coder/issues/1233
#1403https://github.com/coder/coder/pull/1403
@jsjoeiohttps://github.com/jsjoeio
#1423https://github.com/coder/coder/issues/1423
https://user-images.githubusercontent.com/147409/168552082-abd94534-95f2-4d11-bfc3-385c01b3834c.png
Please reload this pagehttps://github.com/coder/coder/pull/1463
https://github.com/mafredri
fix: Update cli usage template for cobra feature parityhttps://github.com/coder/coder/pull/1463/commits/180cd3e1f7f52f29a0c2216930fbc43a3b8c794d
180cd3ehttps://github.com/coder/coder/pull/1463/commits/180cd3e1f7f52f29a0c2216930fbc43a3b8c794d
#1423https://github.com/coder/coder/issues/1423
#1233https://github.com/coder/coder/issues/1233
#1403https://github.com/coder/coder/pull/1403
https://github.com/mafredri
mafredrihttps://github.com/mafredri
May 16, 2022https://github.com/coder/coder/pull/1463#event-6614099802
https://github.com/mafredri
mafredrihttps://github.com/mafredri
ammariohttps://github.com/ammario
jsjoeiohttps://github.com/jsjoeio
May 16, 2022 08:32https://github.com/coder/coder/pull/1463#event-6614099872
https://github.com/deansheather
deansheatherhttps://github.com/deansheather
May 16, 2022 https://github.com/coder/coder/pull/1463#pullrequestreview-973594638
View reviewed changes https://github.com/coder/coder/pull/1463/files/180cd3e1f7f52f29a0c2216930fbc43a3b8c794d
deansheatherhttps://github.com/deansheather
https://github.com/coder/coder/pull/1463#pullrequestreview-973594638
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1463
cli/root.gohttps://github.com/coder/coder/pull/1463/files/180cd3e1f7f52f29a0c2216930fbc43a3b8c794d#diff-f95036fc6ff63eb5fcf251353f47b191fa8a2d927d37eacbb51e47e74e5f71f4
Please reload this pagehttps://github.com/coder/coder/pull/1463
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
May 16, 2022 https://github.com/coder/coder/pull/1463#pullrequestreview-973645000
View reviewed changes https://github.com/coder/coder/pull/1463/files/180cd3e1f7f52f29a0c2216930fbc43a3b8c794d
johnstcnhttps://github.com/johnstcn
https://github.com/coder/coder/pull/1463#pullrequestreview-973645000
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1463
mafredrihttps://github.com/mafredri
May 16, 2022 09:41https://github.com/coder/coder/pull/1463#commits-pushed-24db4a0
https://github.com/mafredri
chore: Reformat template for better readabilityhttps://github.com/coder/coder/pull/1463/commits/24db4a065b7b4771dd1df907c23eb48c8408a8b0
24db4a0https://github.com/coder/coder/pull/1463/commits/24db4a065b7b4771dd1df907c23eb48c8408a8b0
https://github.com/mafredri
Add color to "Additional help topics:" in case we ever use ithttps://github.com/coder/coder/pull/1463/commits/053cccf81aed330b650a6202401f4bde679f1369
053cccfhttps://github.com/coder/coder/pull/1463/commits/053cccf81aed330b650a6202401f4bde679f1369
https://github.com/mafredri
mafredrihttps://github.com/mafredri
May 16, 2022 https://github.com/coder/coder/pull/1463#ref-pullrequest-1233281169
fix: show --help message for CLI errors, add tests for delete #1403 https://github.com/coder/coder/pull/1403
mafredrihttps://github.com/mafredri
May 16, 2022 11:05https://github.com/coder/coder/pull/1463#commits-pushed-54798eb
https://github.com/mafredri
Register header template function for cleaner syntaxhttps://github.com/coder/coder/pull/1463/commits/54798ebc0f4f2c311fab30061b47b73ab30f28d7
54798ebhttps://github.com/coder/coder/pull/1463/commits/54798ebc0f4f2c311fab30061b47b73ab30f28d7
https://github.com/mafredri
Rename template function to usageHeader to avoid potential naming con…https://github.com/coder/coder/pull/1463/commits/8ab9124cc74c449e3361741a5992353942e6bbae
8ab9124https://github.com/coder/coder/pull/1463/commits/8ab9124cc74c449e3361741a5992353942e6bbae
https://github.com/kylecarbs
kylecarbshttps://github.com/kylecarbs
May 16, 2022 https://github.com/coder/coder/pull/1463#pullrequestreview-973969530
View reviewed changes https://github.com/coder/coder/pull/1463/files/8ab9124cc74c449e3361741a5992353942e6bbae
kylecarbshttps://github.com/kylecarbs
https://github.com/coder/coder/pull/1463#pullrequestreview-973969530
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1463
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
May 16, 2022https://github.com/coder/coder/pull/1463#issuecomment-1127827799
Please reload this pagehttps://github.com/coder/coder/pull/1463
https://github.com/spf13/cobra/blob/master/command.go#L502-L525https://github.com/spf13/cobra/blob/master/command.go#L502-L525
Please reload this pagehttps://github.com/coder/coder/pull/1463
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
May 16, 2022 https://github.com/coder/coder/pull/1463#pullrequestreview-974181925
View reviewed changes https://github.com/coder/coder/pull/1463/files/8ab9124cc74c449e3361741a5992353942e6bbae
Emyrkhttps://github.com/Emyrk
https://github.com/coder/coder/pull/1463#pullrequestreview-974181925
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1463
https://github.com/mafredri
mafredrihttps://github.com/mafredri
6c1ef85https://github.com/coder/coder/commit/6c1ef851a2fcf7c2c46ac77cf0d69a70adccffdd
May 16, 2022https://github.com/coder/coder/pull/1463#event-6617905556
https://github.com/mafredri
mafredrihttps://github.com/mafredri
May 16, 2022 17:01https://github.com/coder/coder/pull/1463#event-6617905673
https://github.co/hiddenchars
https://github.com/coder/coder/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F1463
https://github.com/johnstcn
johnstcn https://github.com/johnstcn
https://github.com/coder/coder/pull/1463/files/180cd3e1f7f52f29a0c2216930fbc43a3b8c794d
https://github.com/Emyrk
Emyrk https://github.com/Emyrk
https://github.com/coder/coder/pull/1463/files/8ab9124cc74c449e3361741a5992353942e6bbae
https://github.com/kylecarbs
kylecarbs https://github.com/kylecarbs
https://github.com/coder/coder/pull/1463/files/8ab9124cc74c449e3361741a5992353942e6bbae
https://github.com/deansheather
deansheather https://github.com/deansheather
https://github.com/coder/coder/pull/1463/files/180cd3e1f7f52f29a0c2216930fbc43a3b8c794d
https://github.com/ammario
ammario https://github.com/ammario
https://github.com/jsjoeio
jsjoeio https://github.com/jsjoeio
Please reload this pagehttps://github.com/coder/coder/pull/1463
https://github.com/mafredri
mafredri https://github.com/mafredri
coder state pull has useless help https://github.com/coder/coder/issues/1423
Please reload this pagehttps://github.com/coder/coder/pull/1463
https://github.com/mafredri
https://github.com/Emyrk
https://github.com/johnstcn
https://github.com/kylecarbs
https://github.com/deansheather
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.