Title: Default value for Options not returned · Issue #30 · wp-cli/php-cli-tools · GitHub
Open Graph Title: Default value for Options not returned · Issue #30 · wp-cli/php-cli-tools
X Title: Default value for Options not returned · Issue #30 · wp-cli/php-cli-tools
Description: Setting a default for an option doesn't really seem to do much (besides showing the default value in the help screen: $arguments->addOption( array('name', 'n'), array( 'description' => 'Set the name", 'default' => 'Foo Bar' ) )); Doing t...
Open Graph Description: Setting a default for an option doesn't really seem to do much (besides showing the default value in the help screen: $arguments->addOption( array('name', 'n'), array( 'description' => 'Set the nam...
X Description: Setting a default for an option doesn't really seem to do much (besides showing the default value in the help screen: $arguments->addOption( array('name', 'n'), array( 'd...
Opengraph URL: https://github.com/wp-cli/php-cli-tools/issues/30
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Default value for Options not returned","articleBody":"Setting a default for an option doesn't really seem to do much (besides showing the default value in the help screen:\n\n```\n$arguments->addOption( array('name', 'n'), \n array(\n 'description' => 'Set the name\",\n 'default' => 'Foo Bar'\n )\n));\n```\n\nDoing this:\n\n```\necho $arguments['name']\n```\n\nreturns nothing, but it should return \"Foo Bar\" unless the default has been overridden.\n","author":{"url":"https://github.com/pierluigi","@type":"Person","name":"pierluigi"},"datePublished":"2013-07-22T11:35:11Z","url":"https://github.com/wp-cli/php-cli-tools/issues/30"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:791b38d5-5b27-9a06-41ce-78339a572c88 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E328:C8BDE:A917F8:EB3D69:6AFA17EC |
| html-safe-nonce | 922d1b47ccaed4587545b82ec14832383a72063f40f06853cd6c07011733ad4e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzI4OkM4QkRFOkE5MTdGODpFQjNENjk6NkFGQTE3RUMiLCJ2aXNpdG9yX2lkIjoiMjU5Nzk0OTQ5NjM2MDU3MjkwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a8c1821a5936be3a0cca3b90450f5730ca5375052bb3a70d8f2ea76a8155b4e6 |
| hovercard-subject-tag | issue:17041987 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/wp-cli/php-cli-tools/30/issue_layout |
| twitter:image | https://opengraph.githubassets.com/61a45f5cf58310c48326e54c0956c85521597978d787650af8e1e2b9daae51e2/wp-cli/php-cli-tools/issues/30 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/61a45f5cf58310c48326e54c0956c85521597978d787650af8e1e2b9daae51e2/wp-cli/php-cli-tools/issues/30 |
| og:image:alt | Setting a default for an option doesn't really seem to do much (besides showing the default value in the help screen: $arguments->addOption( array('name', 'n'), array( 'description' => 'Set the nam... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pierluigi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-preview |
| go-import | github.com/wp-cli/php-cli-tools git https://github.com/wp-cli/php-cli-tools.git |
| octolytics-dimension-user_id | 1570774 |
| octolytics-dimension-user_login | wp-cli |
| octolytics-dimension-repository_id | 587642 |
| octolytics-dimension-repository_nwo | wp-cli/php-cli-tools |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 587642 |
| octolytics-dimension-repository_network_root_nwo | wp-cli/php-cli-tools |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width