René's URL Explorer Experiment


Title: Recommended command line best practice to expose version · Issue #6 · codeisscience/software-usage-reporting · GitHub

Open Graph Title: Recommended command line best practice to expose version · Issue #6 · codeisscience/software-usage-reporting

X Title: Recommended command line best practice to expose version · Issue #6 · codeisscience/software-usage-reporting

Description: We should recommend best practice for version information (and check what already exist for that), given a command line tool. TODO: Find/link to tool author guides For instance: Level 0 MUST have a programmatic way to get version info Pa...

Open Graph Description: We should recommend best practice for version information (and check what already exist for that), given a command line tool. TODO: Find/link to tool author guides For instance: Level 0 MUST have a...

X Description: We should recommend best practice for version information (and check what already exist for that), given a command line tool. TODO: Find/link to tool author guides For instance: Level 0 MUST have a...

Opengraph URL: https://github.com/codeisscience/software-usage-reporting/issues/6

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Recommended command line best practice to expose version","articleBody":"We should recommend best practice for version information (and check what already exist for that), given a command line tool.\r\n\r\n_TODO: Find/link to tool author guides_\r\n\r\nFor instance:\r\n\r\n## Level 0\r\n\r\n* MUST have a programmatic way to get version info \r\n* Parameter SHOULD be `--version` but MAY be arbitrarily named\r\n\r\n```shell\r\n$ tool -custom-version-parameter`\r\n\u003e 1.2.3\r\n```\r\n\r\n## Level 1\r\n\r\n* MUST respond to parameter `--version`\r\n* MUST include tool name\r\n* MUST include version number\r\n* Version number SHOULD be [semantic version](https://semver.org/spec/v2.0.0.html) (_TODO: How can you tell?_)\r\n\r\n\r\n```shell\r\n$ python --version\r\nPython 3.7.1\r\n```\r\n\r\n## Level 2\r\n\r\n* MUST support/include detailed version info\r\n* SHOULD support `--version --verbose`\r\n* SHOULD list important dependencies and their versions\r\n* MAY recursively ask dependencies for detailed version info (_TODO: How to show nesting?_)\r\n\r\n```shell\r\n$ python --version -V\r\nPython 3.7.1 (default, Dec 14 2018, 19:28:38) \r\n[GCC 7.3.0]\r\n```\r\n\r\n```shell\r\n$ latex --version --verbose\r\npdfTeX 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian)\r\nkpathsea version 6.2.3\r\nCopyright 2017 Han The Thanh (pdfTeX) et al.\r\nThere is NO warranty.  Redistribution of this software is\r\ncovered by the terms of both the pdfTeX copyright and\r\nthe Lesser GNU General Public License.\r\nFor more information about these matters, see the file\r\nnamed COPYING and the pdfTeX source.\r\nPrimary author of pdfTeX: Han The Thanh (pdfTeX) et al.\r\nCompiled with libpng 1.6.34; using libpng 1.6.34\r\nCompiled with zlib 1.2.11; using zlib 1.2.11\r\nCompiled with poppler version 0.62.0\r\n\r\n```\r\n\r\n## Level 3\r\n\r\n* MUST support structured version info\r\n* MUST support `--version=cff`\r\n* MUST return *only* valid [CITATION.cff](https://citation-file-format.github.io/) YAML/JSON content on stdout\r\n* SHOULD include a CFF `references` section\r\n* Dependencies SHOULD be listed as  `software` under `references`\r\n* MAY recurse call `--version=cff`on tools and embed result in their `references` item\r\n\r\n_TODO: Check if anything already supports something like this_\r\n\r\n```shell\r\n$ tool --version=cff\r\ncff-version: 1.0.3\r\nmessage: If you use this software, please cite it as below.\r\nauthors:\r\n  - family-names: Druskat\r\n    given-names: Stephan\r\n    orcid: https://orcid.org/0000-0003-4925-7248\r\ntitle: My Research Tool\r\nversion: 1.0.4\r\ndoi: 10.5281/zenodo.1234\r\ndate-released: 2017-12-18\r\n```","author":{"url":"https://github.com/stain","@type":"Person","name":"stain"},"datePublished":"2019-07-27T09:33:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/6/software-usage-reporting/issues/6"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:61a0a29a-220f-84af-13a1-9d3768b225a6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9252:1E178:DB4372:11C158A:697E3FE4
html-safe-noncea96159e78ee1e62b9a4b55b43593047f757226f35c0945267684ef40ef6e48a9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjUyOjFFMTc4OkRCNDM3MjoxMUMxNThBOjY5N0UzRkU0IiwidmlzaXRvcl9pZCI6IjM2MTM1MjAyNDQ2MjM5NDk3OTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd1b9b9fc3310876fa7a053908085b65cdedbfd8f4cd31385ac923b7daf1a5de8
hovercard-subject-tagissue:473620530
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/codeisscience/software-usage-reporting/6/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e4bc5bee630088d2fde68be5bc02cd70a41bff8792acd68c05e0e69fe5c00949/codeisscience/software-usage-reporting/issues/6
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e4bc5bee630088d2fde68be5bc02cd70a41bff8792acd68c05e0e69fe5c00949/codeisscience/software-usage-reporting/issues/6
og:image:altWe should recommend best practice for version information (and check what already exist for that), given a command line tool. TODO: Find/link to tool author guides For instance: Level 0 MUST have a...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamestain
hostnamegithub.com
expected-hostnamegithub.com
None60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6
turbo-cache-controlno-preview
go-importgithub.com/codeisscience/software-usage-reporting git https://github.com/codeisscience/software-usage-reporting.git
octolytics-dimension-user_id37867383
octolytics-dimension-user_logincodeisscience
octolytics-dimension-repository_id199130518
octolytics-dimension-repository_nwocodeisscience/software-usage-reporting
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id199130518
octolytics-dimension-repository_network_root_nwocodeisscience/software-usage-reporting
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
release7c85641c598ad130c74f7bcc27f58575cac69551
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/codeisscience/software-usage-reporting/issues/6#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcodeisscience%2Fsoftware-usage-reporting%2Fissues%2F6
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcodeisscience%2Fsoftware-usage-reporting%2Fissues%2F6
Sign up https://patch-diff.githubusercontent.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=codeisscience%2Fsoftware-usage-reporting
Reloadhttps://patch-diff.githubusercontent.com/codeisscience/software-usage-reporting/issues/6
Reloadhttps://patch-diff.githubusercontent.com/codeisscience/software-usage-reporting/issues/6
Reloadhttps://patch-diff.githubusercontent.com/codeisscience/software-usage-reporting/issues/6
codeisscience https://patch-diff.githubusercontent.com/codeisscience
software-usage-reportinghttps://patch-diff.githubusercontent.com/codeisscience/software-usage-reporting
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fcodeisscience%2Fsoftware-usage-reporting
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fcodeisscience%2Fsoftware-usage-reporting
Star 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fcodeisscience%2Fsoftware-usage-reporting
Code https://patch-diff.githubusercontent.com/codeisscience/software-usage-reporting
Issues 6 https://patch-diff.githubusercontent.com/codeisscience/software-usage-reporting/issues
Pull requests 0 https://patch-diff.githubusercontent.com/codeisscience/software-usage-reporting/pulls
Actions https://patch-diff.githubusercontent.com/codeisscience/software-usage-reporting/actions
Projects 0 https://patch-diff.githubusercontent.com/codeisscience/software-usage-reporting/projects
Security 0 https://patch-diff.githubusercontent.com/codeisscience/software-usage-reporting/security
Insights https://patch-diff.githubusercontent.com/codeisscience/software-usage-reporting/pulse
Code https://patch-diff.githubusercontent.com/codeisscience/software-usage-reporting
Issues https://patch-diff.githubusercontent.com/codeisscience/software-usage-reporting/issues
Pull requests https://patch-diff.githubusercontent.com/codeisscience/software-usage-reporting/pulls
Actions https://patch-diff.githubusercontent.com/codeisscience/software-usage-reporting/actions
Projects https://patch-diff.githubusercontent.com/codeisscience/software-usage-reporting/projects
Security https://patch-diff.githubusercontent.com/codeisscience/software-usage-reporting/security
Insights https://patch-diff.githubusercontent.com/codeisscience/software-usage-reporting/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/codeisscience/software-usage-reporting/issues/6
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/codeisscience/software-usage-reporting/issues/6
Recommended command line best practice to expose versionhttps://patch-diff.githubusercontent.com/codeisscience/software-usage-reporting/issues/6#top
https://github.com/stain
https://github.com/stain
stainhttps://github.com/stain
on Jul 27, 2019https://github.com/codeisscience/software-usage-reporting/issues/6#issue-473620530
semantic versionhttps://semver.org/spec/v2.0.0.html
CITATION.cffhttps://citation-file-format.github.io/
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.