1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-28 08:38:44 +02:00
Commit Graph

61 Commits

Author SHA1 Message Date
Jakub Roztocil
011402152c Rename repo from httpie/httpie to httpie/cli 2023-08-06 14:04:32 +02:00
github-actions[bot]
c8c135ffff
[automated] Update generated content (#1509)
Co-authored-by: jakubroztocil <jakubroztocil@users.noreply.github.com>
2023-05-22 11:57:31 -07:00
Jakub Roztocil
2da955fb06
Man page clean-up (#1508)
Ensure we don’t include dynamic content in the static man pages.
2023-05-22 11:56:30 -07:00
github-actions[bot]
c2677eeccf
[automated] Update auto-generated files (#1507)
Co-authored-by: jakubroztocil <jakubroztocil@users.noreply.github.com>
2023-05-22 11:40:01 -07:00
Jakub Roztocil
0689b55e1d
Clean up and refactor nested JSON parsing & interpreting (#1440) 2022-10-01 03:38:19 -07:00
Kian-Meng Ang
d9a73cd8eb
Fix typos (#1431)
Found via `codespell -L datas`.
2022-10-01 03:34:41 -07:00
Tim Gates
4736a16698
docs: Fix a few typos (#1419) 2022-07-03 14:54:34 +02:00
Girish Sharma
3ad408add7
Fix paths to run benchmarking script (#1416) 2022-06-19 00:20:22 -07:00
Batuhan Taskaya
d9e1dc08c9
Package man pages into the deb packages as well. (#1403) 2022-05-16 18:19:49 +03:00
Jannik Vieten
80ae644464
updated fish completions for httpie 3.2.1 (#1394) 2022-05-09 18:24:48 +03:00
Batuhan Taskaya
b0b0f3dc53
Mask the stdout/stderr for the inner daemon process on MacOS (#1389) 2022-05-06 10:06:59 +03:00
Batuhan Taskaya
2142ae60c3
Final release prep for 3.2.0 (#1387) 2022-05-05 23:32:35 +03:00
Batuhan Taskaya
003f2095d4
Automatic release update warnings. (#1336)
* Hide pretty help

* Automatic release update warnings.

* `httpie cli check-updates`

* adapt to the new loglevel construct

* Don't make the pie-colors the bold

* Apply review feedback.

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2022-05-05 11:18:20 -07:00
Batuhan Taskaya
f9b5c2f696
Man page fixes (#1364)
- Highlighting for options (-x, --x) now doesn't strip the prefix (may be whitespace).
- Escape sequences are now cross-platform compatible (directly taken by groff/troff [man's renderer])
- Now we check for the section before displaying the man pages.
- On MacOS, there is HTTP(n) which is different from our HTTP(1). This used to conflict with it, and we showed the wrong page. Now we specifically ask foir HTTP(1).
- Errors that might happen (e.g non executable man command) is now suppressed. So in the worst case (if anything regarding man execution goes wrong), we'll always display the manual.
- Docs for man pages.
- HTTPie man pages.
- Epilog for the man pages (see also)
- Auto-generated comments.
2022-05-05 11:17:37 -07:00
Batuhan Taskaya
0f9fd76852
Deprecate --history-print (#1380) 2022-05-03 06:29:02 -07:00
luzpaz
d262181bed
Fix typos (user-facing and non-user-facing) (#1357)
* Fix typos (user-facing and non-user-facing

Found via `codespell -q 3 -L datas,medias,warmup`

* Fix source typo found in tests/
2022-04-16 02:06:34 +03:00
Batuhan Taskaya
dd2c9513f3
Single binary executables (#1330)
* Single binary executables / DEB packages.

* Attach single binary executables to the releases
2022-04-14 08:11:12 -07:00
Batuhan Taskaya
ff6f1887b0
[Major] UI Enhancements (#1321)
* Refactor tests to use a text-based standard output. (#1318)

* Implement new style `--help` (#1316)

* Implement man page generation (#1317)

* Implement rich progress bars. (#1324)

* Man page deployment & isolation. (#1325)

* Remove all unsorted usages in the CLI docs

* Implement isolated mode for man page generation

* Add a CI job for autogenerated files

* Distribute man pages through PyPI

* Pin the date for man pages. (#1326)

* Hide suppressed arguments from --help/man pages (#1329)

* Change download spinner to line (#1328)

* Regenerate autogenerated files when pushed against to master. (#1339)

* Highlight options (#1340)

* Additional man page enhancements (#1341)

* Group options by the parent category & highlight -o/--o

* Display (and underline) the METAVAR on man pages.

* Make help message processing more robust (#1342)

* Inherit `help` from `short_help`

* Don't mirror short_help directly.

* Fixup the serialization

* Use `pager` and `man` on `--manual` when applicable (#1343)

* Run `man $program` on --manual

* Page the output of `--manual` for systems that lack man pages

* Improvements over progress bars (separate bar, status line, etc.) (#1346)

* Redesign the --help layout.

* Make our usage of rich compatible with 9.10.0

* Add `HTTPIE_NO_MAN_PAGES`

* Make tests also patch os.get_terminal_size

* Generate CLI spec from HTTPie & Man Page Hook (#1354)

* Generate CLI spec from HTTPie & add man page hook

* Use the full command space for the option headers
2022-04-14 07:43:10 -07:00
Batuhan Taskaya
45fcd746d7 docs: format the benchmark docs 2022-01-24 18:20:03 +03:00
Batuhan Taskaya
d5e3611e85 fix lint errors 2022-01-24 18:17:55 +03:00
Batuhan Taskaya
378a1f513e Document the pyOpenSSL option 2022-01-24 18:17:55 +03:00
Batuhan Taskaya
df6843b15a docs: add --{local, target}-{repo, branch} / format 2022-01-24 18:17:55 +03:00
Batuhan Taskaya
640901146f docs: document the --fresh option 2022-01-24 18:17:55 +03:00
Batuhan Taskaya
6b5d96da72 Describe the usage for benchmarks 2022-01-24 18:17:55 +03:00
Batuhan Taskaya
97bd9c2a89 docs: add requirements 2022-01-24 18:17:55 +03:00
Batuhan Taskaya
708608e1d4 docs: mention about the runners 2022-01-24 18:17:55 +03:00
Batuhan Taskaya
d56a1f216e docs: give a brief description 2022-01-24 18:17:55 +03:00
Batuhan Taskaya
738a6bea57 docs: fix the title to benchmarking infrastructure 2022-01-24 18:17:55 +03:00
Batuhan Taskaya
ec521c461b docs: add initial benchmark docs 2022-01-24 18:17:55 +03:00
Batuhan Taskaya
e09401b81a
Optimize encoding detection (#1243)
* Optimize encoding detection

* Use a threshold based system
2021-12-23 11:05:58 -08:00
Batuhan Taskaya
4f7f59b990
Add initial benchmarking infrastructure (#1232)
* Add initial benchmarking infrastructure

* Add CI file

* Try to comment on commits

* Implement file download benchmarks!

* drop commit comments (they dont work)

* Allow running local binary

* Better action

* More docs!

* Better look?

* even better look

* add pretty=all, none benchmarks
2021-12-14 07:05:25 -08:00
Gaurav
cff45276b5
Fix Snap autocompletion (#1189) 2021-10-25 16:36:34 +02:00
Mickaël Schoentgen
7989e438d2
Add documentation about our release process (#1159)
* Add documentation about our release process

* Fixes

* Add company-related tasks, enable back WIP pages

* Fix WIP links

* Add AOSC OS

* Add WIP for AOSC OS

* Tweak

* Remove maintainers email IDs

* Use GH nicknames

* Remove useless WIP for brew

* Tweaks
2021-10-06 16:45:44 +02:00
Mickaël Schoentgen
a586fca246
Update brew formula to 2.5.0 (#1144)
* Update brew formula to 2.5.0

* Can use `idna` 3.2

* Sort requirements to ease reproductible builds

And also to have the same output as `brew bump-formula-pr`.

* Sync `bottles` with official Formula

And keep the `high_sierra` one.

* Add a workflow to check the Formula
2021-09-08 11:01:27 +02:00
a1346054
e7d8b9cece
Spelling and bash completion fixes (#1137)
* Remove hashbang from bash completion

Completion files are not supposed to have a hashbang.
They are sourced, not executed.

* Fix spelling

* Trim excess whitespace
2021-09-03 15:05:03 +02:00
Mickaël Schoentgen
d10e108b5f
Added support for XML formatting (#1129)
As a side effect, XHTML responses will be pretty-printed too.
2021-08-31 22:49:53 +02:00
Jannik Vieten
9b5aedb02d
updated fish shell completions (#1076) 2021-05-27 20:13:00 +02:00
Mickaël Schoentgen
0001297f41
Add --raw to allow specifying the raw request body as an alternative to stdin (#1062)
* Add --raw to allow specifying the raw request body without extra processing

As an alternative to `stdin`.

Co-authored-by: Elena Lape <elapinskaite@gmail.com>
Co-authored-by: Jakub Roztocil <jakub@roztocil.co>

* Update README.rst

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>

* Update README.rst

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>

* Fix default HTTP method on empty data

Co-authored-by: Elena Lape <elapinskaite@gmail.com>
Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2021-05-24 14:29:54 +02:00
Jakub Roztocil
7be25d0751 Update brew formula to 2.4.0 2021-02-06 11:54:15 +01:00
Jakub Roztocil
cf254680b7 Update homebrew 2020-10-25 21:43:20 +01:00
Jakub Roztocil
6cd934d1b8 Add support for multipart upload streaming
Close #684, #201
2020-08-15 17:50:00 +02:00
Jakub Roztocil
d6f25b1017 Update Brew formula for v2.2.0 2020-06-19 02:23:12 +02:00
Jakub Roztocil
495f67229a Fix brew formula 2020-04-18 13:39:17 +02:00
Jakub Roztocil
45b9bae3dc Update brew formula 2020-04-18 13:24:25 +02:00
Jakub Roztocil
c3be722188 Update brew formula 2020-01-12 11:44:58 +01:00
Jakub Roztocil
aba3b1ec01 Refactoring 2019-08-31 15:17:10 +02:00
Jeff Byrnes
add6601009 Update homebrew formula for 1.0.3 (#801)
* Update brew formula for 1.0.3

This updates the Homebrew formula to:

* Install httpie 1.0.3
* Install the most up-to-date dependencies for httpie

* Add myself to AUTHORS
2019-08-29 07:38:46 +02:00
Jakub Roztocil
69d010a11b Brew cleanup 2019-02-03 15:08:29 +01:00
Jakub Roztocil
933b438e5f Bump dependency versions #742 2019-02-03 14:26:05 +01:00
Jakub Roztocil
74979f3b33 Brew 2018-11-06 11:37:33 +01:00