René's URL Explorer Experiment


Title: Consider using an external argument parser · Issue #97 · uutils/diffutils · GitHub

Open Graph Title: Consider using an external argument parser · Issue #97 · uutils/diffutils

X Title: Consider using an external argument parser · Issue #97 · uutils/diffutils

Description: Argument parsing in the diff command (and in the WIP cmp command) is implemented manually. The rationale for not using a general-purpose parser like clap is that it does not offer the flexibility we need to replicate the GNU diffutils ar...

Open Graph Description: Argument parsing in the diff command (and in the WIP cmp command) is implemented manually. The rationale for not using a general-purpose parser like clap is that it does not offer the flexibility w...

X Description: Argument parsing in the diff command (and in the WIP cmp command) is implemented manually. The rationale for not using a general-purpose parser like clap is that it does not offer the flexibility w...

Opengraph URL: https://github.com/uutils/diffutils/issues/97

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Consider using an external argument parser","articleBody":"Argument parsing in the `diff` command (and in [the WIP `cmp` command](https://github.com/uutils/diffutils/pull/88)) is implemented manually. The rationale for not using a general-purpose parser like [clap](https://docs.rs/clap/latest/clap/index.html) is that it does not offer the flexibility we need to replicate the GNU diffutils arguments. We'd lose in compatibility what we would gain in code simplicity.\r\n\r\nWhile researching how it's done in uutils/coreutils, I came across uutils/coreutils#4254, which looks especially relevant. Perhaps we should consider giving [uutils-args](https://github.com/tertsdiepraam/uutils-args/) a test run to understand if it fits the needs of the diffutils applications, and provide constructive feedback and contributions in case it doesn't.\r\n\r\nThere are currently only two CLI applications (out of a total of 4) to migrate, so the advantage over uutils/coreutils is that the effort would be rather limited.","author":{"url":"https://github.com/oSoMoN","@type":"Person","name":"oSoMoN"},"datePublished":"2024-09-30T15:28:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/97/diffutils/issues/97"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:13fe974e-2497-be76-2828-9e458d548873
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB91A:89EF1:B3B3C5:F30321:6A4D766E
html-safe-nonceca3d422f86556d4e980360dc74a9cc7d7d43ca9c73076b8f51aa05fffee840d2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTFBOjg5RUYxOkIzQjNDNTpGMzAzMjE6NkE0RDc2NkUiLCJ2aXNpdG9yX2lkIjoiNTEyNTU3MjkyODk5MzY2NTEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb2143cdd832019865b1d643a01ccb710feec91a14adc4560cd92c7097ef0283a
hovercard-subject-tagissue:2557009316
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/uutils/diffutils/97/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f54eb03c19e0e8433d6c0ff2bfb9d6a7e5b954b10032549cff382b811c6c496f/uutils/diffutils/issues/97
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f54eb03c19e0e8433d6c0ff2bfb9d6a7e5b954b10032549cff382b811c6c496f/uutils/diffutils/issues/97
og:image:altArgument parsing in the diff command (and in the WIP cmp command) is implemented manually. The rationale for not using a general-purpose parser like clap is that it does not offer the flexibility w...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameoSoMoN
hostnamegithub.com
expected-hostnamegithub.com
None7f8e15305e2ab58890ca84b830615e375f5df303cf471cafcba0c08272981be3
turbo-cache-controlno-preview
go-importgithub.com/uutils/diffutils git https://github.com/uutils/diffutils.git
octolytics-dimension-user_id5148717
octolytics-dimension-user_loginuutils
octolytics-dimension-repository_id341787720
octolytics-dimension-repository_nwouutils/diffutils
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id341787720
octolytics-dimension-repository_network_root_nwouutils/diffutils
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
release8608b0750fc35e283e5ec5b094bff942d7a0e197
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/uutils/diffutils/issues/97#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fuutils%2Fdiffutils%2Fissues%2F97
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fuutils%2Fdiffutils%2Fissues%2F97
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=uutils%2Fdiffutils
Reloadhttps://github.com/uutils/diffutils/issues/97
Reloadhttps://github.com/uutils/diffutils/issues/97
Reloadhttps://github.com/uutils/diffutils/issues/97
Please reload this pagehttps://github.com/uutils/diffutils/issues/97
uutils https://github.com/uutils
diffutilshttps://github.com/uutils/diffutils
Notifications https://github.com/login?return_to=%2Fuutils%2Fdiffutils
Fork 35 https://github.com/login?return_to=%2Fuutils%2Fdiffutils
Star 269 https://github.com/login?return_to=%2Fuutils%2Fdiffutils
Code https://github.com/uutils/diffutils
Issues 20 https://github.com/uutils/diffutils/issues
Pull requests 12 https://github.com/uutils/diffutils/pulls
Actions https://github.com/uutils/diffutils/actions
Projects https://github.com/uutils/diffutils/projects
Security and quality 0 https://github.com/uutils/diffutils/security
Insights https://github.com/uutils/diffutils/pulse
Code https://github.com/uutils/diffutils
Issues https://github.com/uutils/diffutils/issues
Pull requests https://github.com/uutils/diffutils/pulls
Actions https://github.com/uutils/diffutils/actions
Projects https://github.com/uutils/diffutils/projects
Security and quality https://github.com/uutils/diffutils/security
Insights https://github.com/uutils/diffutils/pulse
Consider using an external argument parserhttps://github.com/uutils/diffutils/issues/97#top
https://github.com/oSoMoN
oSoMoNhttps://github.com/oSoMoN
on Sep 30, 2024https://github.com/uutils/diffutils/issues/97#issue-2557009316
the WIP cmp commandhttps://github.com/uutils/diffutils/pull/88
claphttps://docs.rs/clap/latest/clap/index.html
uutils/coreutils#4254https://github.com/uutils/coreutils/issues/4254
uutils-argshttps://github.com/tertsdiepraam/uutils-args/
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.