René's URL Explorer Experiment


Title: feat: Unify cli behavior for templates create and update by mafredri · Pull Request #1385 · coder/coder · GitHub

Open Graph Title: feat: Unify cli behavior for templates create and update by mafredri · Pull Request #1385 · coder/coder

X Title: feat: Unify cli behavior for templates create and update by mafredri · Pull Request #1385 · coder/coder

Description: Secure environments for developers and their agents - feat: Unify cli behavior for templates create and update by mafredri · Pull Request #1385 · coder/coder

Open Graph Description: This PR changes the templates update command to be more in line with templates create. Changes: The directory is either cwd or provided via the -d flag, same as create A confirmation prompt is now...

X Description: This PR changes the templates update command to be more in line with templates create. Changes: The directory is either cwd or provided via the -d flag, same as create A confirmation prompt is now...

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

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:efac563c-2b56-9804-e7b0-0b05ea521957
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE74C:38E318:116388B:15E7410:6B015288
html-safe-nonce2062cc758f86854c577a505652a52742cdcb8db620a310132dc7124e242aff3e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzRDOjM4RTMxODoxMTYzODhCOjE1RTc0MTA6NkIwMTUyODgiLCJ2aXNpdG9yX2lkIjoiNjg2MzAyNTI2MzA4OTg5ODEyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf7e4daea3bed1588d3a34281b912af0da5f3876d7c104bea3aca97a995be2ede
hovercard-subject-tagpull_request:933674649
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/1385/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/bf6dff384fa88604db4fd17a012925a8695d97840b31f96eff86b37d1f72480a/coder/coder/pull/1385
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bf6dff384fa88604db4fd17a012925a8695d97840b31f96eff86b37d1f72480a/coder/coder/pull/1385
og:image:altThis PR changes the templates update command to be more in line with templates create. Changes: The directory is either cwd or provided via the -d flag, same as create A confirmation prompt is now...
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/1385#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F1385
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%2F1385
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/1385
Reloadhttps://github.com/coder/coder/pull/1385
Reloadhttps://github.com/coder/coder/pull/1385
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/feat-common-cli-params-for-templateshttps://github.com/coder/coder/tree/mafredri/feat-common-cli-params-for-templates
Conversationhttps://github.com/coder/coder/pull/1385
Commits3 (3)https://github.com/coder/coder/pull/1385/commits
Checkshttps://github.com/coder/coder/pull/1385/checks
Files changedhttps://github.com/coder/coder/pull/1385/files
feat: Unify cli behavior for templates create and updatehttps://github.com/coder/coder/pull/1385#top
mafredrihttps://github.com/mafredri
mainhttps://github.com/coder/coder/tree/main
mafredri/feat-common-cli-params-for-templateshttps://github.com/coder/coder/tree/mafredri/feat-common-cli-params-for-templates
https://github.com/mafredri
mafredrihttps://github.com/mafredri
May 11, 2022https://github.com/coder/coder/pull/1385#issue-1232636013
#565https://github.com/coder/coder/issues/565
Please reload this pagehttps://github.com/coder/coder/pull/1385
https://github.com/mafredri
feat: Unify cli behavior for templates create and updatehttps://github.com/coder/coder/pull/1385/commits/4318133123f6d18e763b9bfb7c46a10ad5b8a65d
4318133https://github.com/coder/coder/pull/1385/commits/4318133123f6d18e763b9bfb7c46a10ad5b8a65d
#565https://github.com/coder/coder/issues/565
https://github.com/mafredri
mafredrihttps://github.com/mafredri
May 11, 2022https://github.com/coder/coder/pull/1385#event-6590360027
https://github.com/mafredri
mafredrihttps://github.com/mafredri
bpmcthttps://github.com/bpmct
johnstcnhttps://github.com/johnstcn
May 11, 2022 13:23https://github.com/coder/coder/pull/1385#event-6590360104
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
May 11, 2022https://github.com/coder/coder/pull/1385#issuecomment-1123760505
Please reload this pagehttps://github.com/coder/coder/pull/1385
Codecovhttps://codecov.io/gh/coder/coder/pull/1385?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder
#1385https://codecov.io/gh/coder/coder/pull/1385?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder
6bfed73https://github.com/coder/coder/commit/6bfed73c87b3b4214c0f69b747b0e0a3fb34234b
mainhttps://codecov.io/gh/coder/coder/commit/9d94f4f71476e91636683669e272a9bfeea1c144?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder
9d94f4fhttps://github.com/coder/coder/commit/9d94f4f71476e91636683669e272a9bfeea1c144
Impacted Fileshttps://codecov.io/gh/coder/coder/pull/1385?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder
cli/templatecreate.gohttps://codecov.io/gh/coder/coder/pull/1385/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder#diff-Y2xpL3RlbXBsYXRlY3JlYXRlLmdv
cli/templateupdate.gohttps://codecov.io/gh/coder/coder/pull/1385/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder#diff-Y2xpL3RlbXBsYXRldXBkYXRlLmdv
provisionersdk/serve.gohttps://codecov.io/gh/coder/coder/pull/1385/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder#diff-cHJvdmlzaW9uZXJzZGsvc2VydmUuZ28=
coderd/turnconn/turnconn.gohttps://codecov.io/gh/coder/coder/pull/1385/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder#diff-Y29kZXJkL3R1cm5jb25uL3R1cm5jb25uLmdv
codersdk/workspaceagents.gohttps://codecov.io/gh/coder/coder/pull/1385/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder#diff-Y29kZXJzZGsvd29ya3NwYWNlYWdlbnRzLmdv
coderd/organizations.gohttps://codecov.io/gh/coder/coder/pull/1385/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder#diff-Y29kZXJkL29yZ2FuaXphdGlvbnMuZ28=
coderd/provisionerdaemons.gohttps://codecov.io/gh/coder/coder/pull/1385/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder#diff-Y29kZXJkL3Byb3Zpc2lvbmVyZGFlbW9ucy5nbw==
coderd/database/queries.sql.gohttps://codecov.io/gh/coder/coder/pull/1385/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder#diff-Y29kZXJkL2RhdGFiYXNlL3F1ZXJpZXMuc3FsLmdv
cli/templates.gohttps://codecov.io/gh/coder/coder/pull/1385/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder#diff-Y2xpL3RlbXBsYXRlcy5nbw==
provisionersdk/agent.gohttps://codecov.io/gh/coder/coder/pull/1385/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder#diff-cHJvdmlzaW9uZXJzZGsvYWdlbnQuZ28=
15 morehttps://codecov.io/gh/coder/coder/pull/1385/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder
Continue to review full report at Codecovhttps://codecov.io/gh/coder/coder/pull/1385?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder
Click here to learn morehttps://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder
Codecovhttps://codecov.io/gh/coder/coder/pull/1385?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder
9d94f4f...6bfed73https://codecov.io/gh/coder/coder/pull/1385?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder
comment docshttps://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder
Please reload this pagehttps://github.com/coder/coder/pull/1385
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
May 11, 2022 https://github.com/coder/coder/pull/1385#pullrequestreview-969405753
View reviewed changes https://github.com/coder/coder/pull/1385/files/4318133123f6d18e763b9bfb7c46a10ad5b8a65d
cli/templateupdate_test.gohttps://github.com/coder/coder/pull/1385/files/4318133123f6d18e763b9bfb7c46a10ad5b8a65d#diff-d75ef7dec648a0f9a7799d5fac44873fcc1376dafe81dd36fd7aa649c38f71bb
Please reload this pagehttps://github.com/coder/coder/pull/1385
cli/templateupdate_test.gohttps://github.com/coder/coder/pull/1385/files/4318133123f6d18e763b9bfb7c46a10ad5b8a65d#diff-d75ef7dec648a0f9a7799d5fac44873fcc1376dafe81dd36fd7aa649c38f71bb
Please reload this pagehttps://github.com/coder/coder/pull/1385
cli/templateupdate.gohttps://github.com/coder/coder/pull/1385/files/4318133123f6d18e763b9bfb7c46a10ad5b8a65d#diff-ec77b22c5b9fb8e9470301bd7b1e889db3cbc567665db6d45c2696346885367a
johnstcnhttps://github.com/johnstcn
May 11, 2022https://github.com/coder/coder/pull/1385#discussion_r870337665
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1385
spikecurtishttps://github.com/spikecurtis
May 11, 2022https://github.com/coder/coder/pull/1385#discussion_r870571604
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1385
spikecurtishttps://github.com/spikecurtis
May 11, 2022https://github.com/coder/coder/pull/1385#discussion_r870582006
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1385
mafredrihttps://github.com/mafredri
May 11, 2022https://github.com/coder/coder/pull/1385#discussion_r870596777
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1385
spikecurtishttps://github.com/spikecurtis
May 11, 2022https://github.com/coder/coder/pull/1385#discussion_r870600072
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1385
mafredrihttps://github.com/mafredri
May 11, 2022https://github.com/coder/coder/pull/1385#discussion_r870603175
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1385
cli/templatecreate.gohttps://github.com/coder/coder/pull/1385/files/4318133123f6d18e763b9bfb7c46a10ad5b8a65d#diff-3d284820b5cc3e444b1508df42a4c7737df8d48a6e916956bd318b5e27726201
Please reload this pagehttps://github.com/coder/coder/pull/1385
https://github.com/kylecarbs
kylecarbshttps://github.com/kylecarbs
May 11, 2022 https://github.com/coder/coder/pull/1385#pullrequestreview-969426519
View reviewed changes https://github.com/coder/coder/pull/1385/files/4318133123f6d18e763b9bfb7c46a10ad5b8a65d
kylecarbshttps://github.com/kylecarbs
https://github.com/coder/coder/pull/1385#pullrequestreview-969426519
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@johnstcnhttps://github.com/johnstcn
Please reload this pagehttps://github.com/coder/coder/pull/1385
mafredrihttps://github.com/mafredri
May 11, 2022 15:24https://github.com/coder/coder/pull/1385#commits-pushed-1640e3b
https://github.com/mafredri
Clean up pretty path with filepath.Cleanhttps://github.com/coder/coder/pull/1385/commits/1640e3bed35ec8d639d9b63eaf8fed47934ff946
1640e3bhttps://github.com/coder/coder/pull/1385/commits/1640e3bed35ec8d639d9b63eaf8fed47934ff946
https://github.com/mafredri
Clean up tests, amend PR commentshttps://github.com/coder/coder/pull/1385/commits/6bfed73c87b3b4214c0f69b747b0e0a3fb34234b
6bfed73https://github.com/coder/coder/pull/1385/commits/6bfed73c87b3b4214c0f69b747b0e0a3fb34234b
https://github.com/mafredri
mafredrihttps://github.com/mafredri
56076a0https://github.com/coder/coder/commit/56076a0aa2752fdab532870d8b9ac7838b24610a
May 12, 2022https://github.com/coder/coder/pull/1385#event-6597696289
https://github.com/mafredri
mafredrihttps://github.com/mafredri
May 12, 2022 11:55https://github.com/coder/coder/pull/1385#event-6597696400
https://github.com/misskniss
missknisshttps://github.com/misskniss
V2 BETA https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22V2%20BETA%22
May 15, 2022https://github.com/coder/coder/pull/1385#event-6610745337
https://github.com/misskniss
missknisshttps://github.com/misskniss
V2 Betahttps://github.com/coder/coder/milestone/4
May 15, 2022https://github.com/coder/coder/pull/1385#event-6610745432
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%2F1385
https://github.com/spikecurtis
spikecurtis https://github.com/spikecurtis
https://github.com/coder/coder/pull/1385/files/4318133123f6d18e763b9bfb7c46a10ad5b8a65d
https://github.com/johnstcn
johnstcn https://github.com/johnstcn
https://github.com/coder/coder/pull/1385/files/4318133123f6d18e763b9bfb7c46a10ad5b8a65d
https://github.com/kylecarbs
kylecarbs https://github.com/kylecarbs
https://github.com/coder/coder/pull/1385/files/4318133123f6d18e763b9bfb7c46a10ad5b8a65d
https://github.com/bpmct
bpmct https://github.com/bpmct
Please reload this pagehttps://github.com/coder/coder/pull/1385
https://github.com/mafredri
mafredri https://github.com/mafredri
V2 Beta https://github.com/coder/coder/milestone/4
use common directory params for templates create and templates update https://github.com/coder/coder/issues/565
Please reload this pagehttps://github.com/coder/coder/pull/1385
https://github.com/mafredri
https://github.com/johnstcn
https://github.com/spikecurtis
https://github.com/kylecarbs
https://github.com/misskniss
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.