WordPress / WordPress/Requests
Create CLI example
Open
Nobody has claimed this yet.
Extras
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 500
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 5
Description
As a proof-of-concept, Requests should include an example of how to use it via a CLI. What we need here is a tiny client that can make requests and do some common tasks.
- Send a GET request
- Display progress bar (to stderr, ala cURL)
- Enable streaming to file (
-o)
Props to @rdlowrey for inspiration from Artax's Progress extension.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or CLI entry point. First locate how Requests currently sends requests and exposes response streaming, then identify the project's command-line entry point. Done means a proof-of-concept client covers GET requests, stderr progress, and -o file streaming.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100