Title: Project Glide + Refactor main command line args parsing by aarongoin · Pull Request #26 · polyapi/polyapi-python · GitHub
Open Graph Title: Project Glide + Refactor main command line args parsing by aarongoin · Pull Request #26 · polyapi/polyapi-python
X Title: Project Glide + Refactor main command line args parsing by aarongoin · Pull Request #26 · polyapi/polyapi-python
Description: Refactors the main python command line args parsing to use sub-parsers so arguments are better contained with the command they belong to (and makes the python help output print like the typescript command line does). Also as part of this I'm bringing all argument parsing up to this top-level. I could have let this one be tbh, but I felt like it was worth doing. Adds the prepare and sync commands with a lot of code translated over from TypeScript client code. Things that are really new and custom are: the way that we parse the python code to derive the argument types and descriptions from the python ast so that we can get character offsets for text that gets replaced by the glide commands. parsing deploy receipt comments with python comment type using Google docstring format as the one we support reading and writing
Open Graph Description: Refactors the main python command line args parsing to use sub-parsers so arguments are better contained with the command they belong to (and makes the python help output print like the typescript ...
X Description: Refactors the main python command line args parsing to use sub-parsers so arguments are better contained with the command they belong to (and makes the python help output print like the typescript ...
Opengraph URL: https://github.com/polyapi/polyapi-python/pull/26
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b9bd8c39-d272-8bc9-ca21-aa758bbc2f28 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9CFA:26F03C:27F679:329096:69742716 |
| html-safe-nonce | 6baa8408f3f8ee0e6305292b7dc6bab36d7478daed6f40d896a0cd3fafe375c9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0ZBOjI2RjAzQzoyN0Y2Nzk6MzI5MDk2OjY5NzQyNzE2IiwidmlzaXRvcl9pZCI6Ijg0MTgyOTA5MDcyOTg5MzI1MDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a8ef3090b9561f9fbbf7248268b682f7fdff993082e6da6f0da4372efb77c10a |
| hovercard-subject-tag | pull_request:2175831977 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/polyapi/polyapi-python/pull/26/files |
| twitter:image | https://avatars.githubusercontent.com/u/7750034?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/7750034?s=400&v=4 |
| og:image:alt | Refactors the main python command line args parsing to use sub-parsers so arguments are better contained with the command they belong to (and makes the python help output print like the typescript ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 447dc9917c3d68d647a01abfdefe55ec7ee1785922136c1d8395dbb3ab6d57b9 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/polyapi/polyapi-python git https://github.com/polyapi/polyapi-python.git |
| octolytics-dimension-user_id | 124421413 |
| octolytics-dimension-user_login | polyapi |
| octolytics-dimension-repository_id | 720191438 |
| octolytics-dimension-repository_nwo | polyapi/polyapi-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 720191438 |
| octolytics-dimension-repository_network_root_nwo | polyapi/polyapi-python |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8dad7bdfecbe3eaa97ac4e632d6b47e2b23e81d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width