Commit graph

445 commits

Author SHA1 Message Date
Sebastián Ramírez
150baa2fe7 📝 Update release notes 2020-03-19 10:31:07 +01:00
Sebastián Ramírez
48698ff2ad
📝 Add docs for using Click with Typer (#70)
* 📝 Add docs for using Click with Typer

*  Add tests for integrating Click and Typer
2020-03-19 10:30:42 +01:00
Sebastián Ramírez
9e3553adab 📝 Update release notes 2020-03-19 08:48:35 +01:00
Valentin Calomme
78d8367c75
✏️ fix typo in progressbar/tutorial004.py (#63)
In the tutorial, the length of the progress bar is set to 1000 and the update was mistakenly set to 2500. The update should be 1/4 of the length given that the loop runs for 4 iterations. This commit sets the update amount to 250 which better showcases the feature.
2020-03-19 07:45:45 +01:00
Sebastián Ramírez
c304d80dea
🐛 Fix Zsh completion install (#69) 2020-03-18 21:28:34 +01:00
Sebastián Ramírez
5a6379ffc6
Add docs for testing, password, version, context. Extra tests, include callback and autocompletion PR (#68)
*  Implement custom handling for callbacks with types

*  Implement type-based handling for completion functions

*  Add examples for custom completion

* 📝 Add docs for custom autocompletion

*  Add tests for autocompletion

*  Document using the context

*  Add tests for using the context

*  Add tests init for context

* 🔧 Update Mypy config

*  Add extra tests for completion

* ✏️ Fix format, typos, and minor texts

*  Update docs for printing, include stdout, stderr, and stdin

* ✏️ Add references to FastAPI, fix typos

* ✏️ Fix typo in Typer CLI

* 📝 Update docs for version

* 📝 Update docs for callbacks

* 📝 Update references to stdout/stderr in autocompletion

* 📝 Add docs for password in CLI option

* 📝 Add docs and tests for Testing

* 📝 Add new sections to docs

* 🎨 Fix formatting
2020-03-18 21:17:47 +01:00
Sebastián Ramírez
eec98bafe6 🔖 Release version 0.0.11 2020-03-16 13:24:10 +01:00
Sebastián Ramírez
6d2cff810c 📝 Update release notes 2020-03-16 13:23:10 +01:00
Sebastián Ramírez
1d3337a4da
Re-implement completion, fixes, add PowerShell support (#66)
*  Re-implement completion

*  Add tests for re-implemented completion

* 🎨 Move mypy config to file

* 🙈 Update .gitignore

*  Remove click-completion, add support for autodetection with shellingham

*  Fix test for PowerShell

* 🐛 Fix PowerShell permissions/test

* 🎨 Format test

* 🏁 Fix PowerShell script for Windows and PowerShell 5

* 📝 Update docs, internal implementation of completion
2020-03-16 13:21:58 +01:00
Sebastián Ramírez
d651b7dc77 📝 Update release notes 2020-03-12 10:47:07 +01:00
Sebastián Ramírez
12eef051c8
🐛 Fix docs format with hl_lines (#65) 2020-03-12 10:46:32 +01:00
Sebastián Ramírez
67ecde536f 📝 Update release notes 2020-03-11 17:17:49 +01:00
Sebastián Ramírez
96731c43be
Docs for Typer CLI (#64)
*  Add docs for Typer CLI

* 📝 Update references to Typer CLI in docs

* 🔧 Update tests to check files and linting before tests, to error out early

* 📝 Sync README.md with docs/index.md
2020-03-11 17:16:49 +01:00
Sebastián Ramírez
87fe78c04d 📝 Update release notes 2020-03-11 12:15:24 +01:00
Sebastián Ramírez
a77057f5b0
📝 Add docs about alternatives and inspiration (#62) 2020-03-11 12:13:50 +01:00
Sebastián Ramírez
dd7241181e
📝 Add contributing guide (#61) 2020-03-11 09:43:04 +01:00
Sebastián Ramírez
51e272a2ce 🔖 Release version 0.0.10 2020-03-10 18:51:38 +01:00
Sebastián Ramírez
00c9e3763f 📝 Update release notes 2020-03-10 18:50:47 +01:00
Sebastián Ramírez
96b29e9639
Add support for Click 7.1.1 (#60)
* ⬆️ Upgrade required Click to 7.1.1 and pin it to patch versions

as a MINOR version broke compatibility, so I'll have to upgrade manually every time

* 📌 Fix pinning Click to MINOR version

*  Upgrade code to be compatible with latest Click changes

*  Update tests with new format for errors

* 📝 Update docs to keep them in sync with actual output
2020-03-10 18:49:29 +01:00
Sebastián Ramírez
e8a30e5261 🔖 Release version 0.0.9 2020-03-08 19:12:31 +01:00
Sebastián Ramírez
c9dfefb2db 📝 Update release notes 2020-03-08 19:11:54 +01:00
Sebastián Ramírez
dd0ba8dcd5
🔧 Add type marker, support for PEP 561 (#58) 2020-03-08 19:11:14 +01:00
Sebastián Ramírez
095da33770
⬆️ Upgrade Netlify deploy action (#57) 2020-03-08 19:04:22 +01:00
Sebastián Ramírez
9bed3f169d
Add support for mermaid visualizations (#56) 2020-03-08 18:57:46 +01:00
Sebastián Ramírez
31f7a44a46 📝 Update release notes 2020-02-15 13:39:47 +01:00
Sebastián Ramírez
fab12d5868
👷 Add GitHub action to deploy docs (#50) 2020-02-15 13:39:10 +01:00
Sebastián Ramírez
fdb5b50c61 📝 Update release notes 2020-01-18 20:41:36 +01:00
Sebastián Ramírez
8d6b201da9
📝 Refactor docs with internal links #38 2020-01-18 20:39:30 +01:00
Sebastián Ramírez
222765eacf Fix tests using binary config files 2020-01-18 19:50:57 +01:00
Sebastián Ramírez
2af83b0be5 📝 Refactor docs with internal links 2020-01-18 19:35:49 +01:00
Sebastián Ramírez
62fd577b3d 📝 Update release notes 2020-01-17 16:43:39 +01:00
Sebastián Ramírez
38c19f059f
🎨 Tweak external links' format #36 2020-01-17 16:42:34 +01:00
Sebastián Ramírez
fc902304b6 🎨 Tweak external link format 2020-01-17 16:27:17 +01:00
Sebastián Ramírez
9009a8d40c 🔖 Release version 0.0.8 2020-01-05 22:41:59 +01:00
Sebastián Ramírez
730a034d3f 📝 Update release notes 2020-01-05 22:39:23 +01:00
Sebastián Ramírez
9c0495b432
📝 Update docs. Add latest docs to MkDocs/website. 2020-01-05 22:35:58 +01:00
Sebastián Ramírez
ea0f2a6566
Add extra tests for edge cases that don't belong on docs 2020-01-05 22:31:05 +01:00
Sebastián Ramírez
17b1748108 📝 Add all the latest docs to MkDocs 2020-01-05 22:24:27 +01:00
Sebastián Ramírez
5e063d8446 📝 Update docs for First Steps 2020-01-05 22:23:55 +01:00
Sebastián Ramírez
3efee0a551 Add 4 extra tests for edge cases 2020-01-05 22:20:54 +01:00
Sebastián Ramírez
bcdcfce72a
📝 🐛 Add docs for CLI parameters with multiple values, with tests and bug fixes 2020-01-05 22:19:30 +01:00
Sebastián Ramírez
c84fcae712 🐛 Fix handling of CLI parameters with multiple values 2020-01-05 22:12:11 +01:00
Sebastián Ramírez
724c4bc8b6 Add tests for examples with multiple values 2020-01-05 22:10:54 +01:00
Sebastián Ramírez
fb8622b8bb 📝 Add docs and examples for CLI parameters with multiple values 2020-01-05 22:09:41 +01:00
Sebastián Ramírez
ff37cb874f
📝 Add extra docs and tests for param types 2020-01-05 22:07:49 +01:00
Sebastián Ramírez
be75c9c3a3 Add tests for extra param types, bool, number 2020-01-05 21:53:57 +01:00
Sebastián Ramírez
421468c04c 📝 Add/extend docs and examples for param types. bool, int. 2020-01-05 21:52:46 +01:00
Sebastián Ramírez
439fb06fb8
📝 Add docs for Callbacks and One or Multiple commands, with docs, tests, bug fixes. 2020-01-05 21:50:31 +01:00
Sebastián Ramírez
6ccdbb8538 🐛 Fix getting callback from instance creation 2020-01-05 21:42:35 +01:00
Sebastián Ramírez
d0ee82ba82 Add tests for commands: callbacks 2020-01-05 21:38:57 +01:00