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

55 Commits

Author SHA1 Message Date
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
Jakub Roztocil
ae8030c930 Homebrew formula for v1.0.0 2018-11-02 17:18:04 +01:00
Jakub Roztocil
7917f1b40c Build fixes and clean-up
* reflect Python 3.7 release
* fix `pycodestyle` errors
* update `pycodestyle` config
* move `pytest` and `pycodestyle` config to `setup.cfg`
* add `make pycodestyle`
* add `make coveralls`
* etc.
2018-07-12 21:16:16 +02:00
Pablo Santiago Blum de Aguiar
46e24dd6b5 Use function as source of styles for Fish completion 2017-12-13 21:22:53 +01:00
Pablo Santiago Blum de Aguiar
803127e8c9 Remove duplicate option from Fish completion list 2017-12-13 21:22:53 +01:00
Jakub Roztocil
c948f98b05 Update links 2017-03-10 11:27:38 +01:00
Jakub Roztocil
fe1d0b0a1e Doc 2016-12-08 21:48:18 +01:00