2019-12-24 14:01:30 +01:00
|
|
|
site_name: Typer
|
2019-12-28 15:27:46 +01:00
|
|
|
site_description: Typer, build great CLIs. Easy to code. Based on Python type hints.
|
2019-12-24 14:01:30 +01:00
|
|
|
site_url: https://typer.tiangolo.com/
|
|
|
|
|
|
|
|
theme:
|
|
|
|
name: 'material'
|
|
|
|
palette:
|
|
|
|
primary: 'black'
|
|
|
|
accent: 'teal'
|
2020-04-18 12:38:12 +02:00
|
|
|
icon:
|
|
|
|
repo: fontawesome/brands/github-alt
|
2019-12-24 14:01:30 +01:00
|
|
|
logo: 'img/icon-white.svg'
|
|
|
|
favicon: 'img/favicon.png'
|
|
|
|
|
|
|
|
repo_name: tiangolo/typer
|
|
|
|
repo_url: https://github.com/tiangolo/typer
|
|
|
|
edit_uri: ''
|
|
|
|
google_analytics:
|
|
|
|
- 'UA-155009830-1'
|
|
|
|
- 'auto'
|
|
|
|
|
|
|
|
nav:
|
|
|
|
- Typer: 'index.md'
|
|
|
|
- Features: 'features.md'
|
|
|
|
- Tutorial - User Guide:
|
2019-12-27 00:04:19 +01:00
|
|
|
- Tutorial - User Guide - Intro: 'tutorial/index.md'
|
2019-12-24 14:01:30 +01:00
|
|
|
- First Steps: 'tutorial/first-steps.md'
|
2020-01-02 15:22:10 +01:00
|
|
|
- Printing and Colors: 'tutorial/printing.md'
|
|
|
|
- Terminating: 'tutorial/terminating.md'
|
2020-06-24 21:05:21 +02:00
|
|
|
- CLI Arguments:
|
|
|
|
- CLI Arguments Intro: 'tutorial/arguments/index.md'
|
|
|
|
- Optional CLI Arguments: 'tutorial/arguments/optional.md'
|
|
|
|
- CLI Arguments with Default: 'tutorial/arguments/default.md'
|
|
|
|
- CLI Arguments with Help: 'tutorial/arguments/help.md'
|
|
|
|
- CLI Arguments with Environment Variables: 'tutorial/arguments/envvar.md'
|
|
|
|
- Other uses: 'tutorial/arguments/other-uses.md'
|
2020-01-02 12:49:28 +01:00
|
|
|
- CLI Options:
|
|
|
|
- CLI Options Intro: 'tutorial/options/index.md'
|
|
|
|
- CLI Options with Help: 'tutorial/options/help.md'
|
|
|
|
- Required CLI Options: 'tutorial/options/required.md'
|
|
|
|
- CLI Option Prompt: 'tutorial/options/prompt.md'
|
:sparkles: Add docs for testing, password, version, context. Extra tests, include callback and autocompletion PR (#68)
* :sparkles: Implement custom handling for callbacks with types
* :sparkles: Implement type-based handling for completion functions
* :sparkles: Add examples for custom completion
* :memo: Add docs for custom autocompletion
* :white_check_mark: Add tests for autocompletion
* :sparkles: Document using the context
* :white_check_mark: Add tests for using the context
* :white_check_mark: Add tests init for context
* :wrench: Update Mypy config
* :white_check_mark: Add extra tests for completion
* :pencil2: Fix format, typos, and minor texts
* :sparkles: Update docs for printing, include stdout, stderr, and stdin
* :pencil2: Add references to FastAPI, fix typos
* :pencil2: Fix typo in Typer CLI
* :memo: Update docs for version
* :memo: Update docs for callbacks
* :memo: Update references to stdout/stderr in autocompletion
* :memo: Add docs for password in CLI option
* :memo: Add docs and tests for Testing
* :memo: Add new sections to docs
* :art: Fix formatting
2020-03-18 21:17:47 +01:00
|
|
|
- Password CLI Option and Confirmation Prompt: 'tutorial/options/password.md'
|
2020-01-02 12:49:28 +01:00
|
|
|
- CLI Option Name: 'tutorial/options/name.md'
|
:sparkles: Add docs for testing, password, version, context. Extra tests, include callback and autocompletion PR (#68)
* :sparkles: Implement custom handling for callbacks with types
* :sparkles: Implement type-based handling for completion functions
* :sparkles: Add examples for custom completion
* :memo: Add docs for custom autocompletion
* :white_check_mark: Add tests for autocompletion
* :sparkles: Document using the context
* :white_check_mark: Add tests for using the context
* :white_check_mark: Add tests init for context
* :wrench: Update Mypy config
* :white_check_mark: Add extra tests for completion
* :pencil2: Fix format, typos, and minor texts
* :sparkles: Update docs for printing, include stdout, stderr, and stdin
* :pencil2: Add references to FastAPI, fix typos
* :pencil2: Fix typo in Typer CLI
* :memo: Update docs for version
* :memo: Update docs for callbacks
* :memo: Update references to stdout/stderr in autocompletion
* :memo: Add docs for password in CLI option
* :memo: Add docs and tests for Testing
* :memo: Add new sections to docs
* :art: Fix formatting
2020-03-18 21:17:47 +01:00
|
|
|
- CLI Option Callback and Context: 'tutorial/options/callback-and-context.md'
|
|
|
|
- Version CLI Option, is_eager: 'tutorial/options/version.md'
|
|
|
|
- CLI Option autocompletion: 'tutorial/options/autocompletion.md'
|
2020-01-02 12:49:28 +01:00
|
|
|
- Commands:
|
|
|
|
- Commands Intro: 'tutorial/commands/index.md'
|
|
|
|
- Command CLI Arguments: 'tutorial/commands/arguments.md'
|
|
|
|
- Command CLI Options: 'tutorial/commands/options.md'
|
|
|
|
- Command Help: 'tutorial/commands/help.md'
|
|
|
|
- Custom Command Name: 'tutorial/commands/name.md'
|
2020-01-05 22:24:27 +01:00
|
|
|
- Typer Callback: 'tutorial/commands/callback.md'
|
2020-01-02 12:49:28 +01:00
|
|
|
- One or Multiple Commands: 'tutorial/commands/one-or-multiple.md'
|
:sparkles: Add docs for testing, password, version, context. Extra tests, include callback and autocompletion PR (#68)
* :sparkles: Implement custom handling for callbacks with types
* :sparkles: Implement type-based handling for completion functions
* :sparkles: Add examples for custom completion
* :memo: Add docs for custom autocompletion
* :white_check_mark: Add tests for autocompletion
* :sparkles: Document using the context
* :white_check_mark: Add tests for using the context
* :white_check_mark: Add tests init for context
* :wrench: Update Mypy config
* :white_check_mark: Add extra tests for completion
* :pencil2: Fix format, typos, and minor texts
* :sparkles: Update docs for printing, include stdout, stderr, and stdin
* :pencil2: Add references to FastAPI, fix typos
* :pencil2: Fix typo in Typer CLI
* :memo: Update docs for version
* :memo: Update docs for callbacks
* :memo: Update references to stdout/stderr in autocompletion
* :memo: Add docs for password in CLI option
* :memo: Add docs and tests for Testing
* :memo: Add new sections to docs
* :art: Fix formatting
2020-03-18 21:17:47 +01:00
|
|
|
- Using the Context: 'tutorial/commands/context.md'
|
2019-12-31 22:14:18 +01:00
|
|
|
- CLI Parameter Types:
|
|
|
|
- CLI Parameter Types Intro: 'tutorial/parameter-types/index.md'
|
|
|
|
- Number: 'tutorial/parameter-types/number.md'
|
2020-01-05 22:24:27 +01:00
|
|
|
- Boolean CLI Options: 'tutorial/parameter-types/bool.md'
|
2019-12-31 22:14:18 +01:00
|
|
|
- UUID: 'tutorial/parameter-types/uuid.md'
|
|
|
|
- DateTime: 'tutorial/parameter-types/datetime.md'
|
|
|
|
- Enum - Choices: 'tutorial/parameter-types/enum.md'
|
|
|
|
- Path: 'tutorial/parameter-types/path.md'
|
|
|
|
- File: 'tutorial/parameter-types/file.md'
|
2020-01-05 22:24:27 +01:00
|
|
|
- SubCommands - Command Groups:
|
|
|
|
- SubCommands - Command Groups - Intro: 'tutorial/subcommands/index.md'
|
2020-01-04 02:25:02 +01:00
|
|
|
- Add Typer: 'tutorial/subcommands/add-typer.md'
|
|
|
|
- SubCommands in a Single File: 'tutorial/subcommands/single-file.md'
|
2020-01-05 22:24:27 +01:00
|
|
|
- Nested SubCommands: 'tutorial/subcommands/nested-subcommands.md'
|
|
|
|
- Sub-Typer Callback Override: 'tutorial/subcommands/callback-override.md'
|
|
|
|
- SubCommand Name and Help: 'tutorial/subcommands/name-and-help.md'
|
|
|
|
- Multiple Values:
|
|
|
|
- Multiple Values Intro: 'tutorial/multiple-values/index.md'
|
|
|
|
- Multiple CLI Options: 'tutorial/multiple-values/multiple-options.md'
|
|
|
|
- CLI Options with Multiple Values: 'tutorial/multiple-values/options-with-multiple-values.md'
|
|
|
|
- CLI Arguments with Multiple Values: 'tutorial/multiple-values/arguments-with-multiple-values.md'
|
2020-01-02 16:59:09 +01:00
|
|
|
- Ask with Prompt: 'tutorial/prompt.md'
|
2020-01-02 18:17:21 +01:00
|
|
|
- Progress Bar: 'tutorial/progressbar.md'
|
2020-01-02 18:42:36 +01:00
|
|
|
- CLI Application Directory: 'tutorial/app-dir.md'
|
2020-01-02 19:09:36 +01:00
|
|
|
- Launching Applications: 'tutorial/launch.md'
|
:sparkles: Add docs for testing, password, version, context. Extra tests, include callback and autocompletion PR (#68)
* :sparkles: Implement custom handling for callbacks with types
* :sparkles: Implement type-based handling for completion functions
* :sparkles: Add examples for custom completion
* :memo: Add docs for custom autocompletion
* :white_check_mark: Add tests for autocompletion
* :sparkles: Document using the context
* :white_check_mark: Add tests for using the context
* :white_check_mark: Add tests init for context
* :wrench: Update Mypy config
* :white_check_mark: Add extra tests for completion
* :pencil2: Fix format, typos, and minor texts
* :sparkles: Update docs for printing, include stdout, stderr, and stdin
* :pencil2: Add references to FastAPI, fix typos
* :pencil2: Fix typo in Typer CLI
* :memo: Update docs for version
* :memo: Update docs for callbacks
* :memo: Update references to stdout/stderr in autocompletion
* :memo: Add docs for password in CLI option
* :memo: Add docs and tests for Testing
* :memo: Add new sections to docs
* :art: Fix formatting
2020-03-18 21:17:47 +01:00
|
|
|
- Testing: 'tutorial/testing.md'
|
2020-03-19 10:30:42 +01:00
|
|
|
- Using Click: 'tutorial/using-click.md'
|
2020-03-19 13:42:23 +01:00
|
|
|
- Building a Package: 'tutorial/package.md'
|
2020-03-11 17:16:49 +01:00
|
|
|
- Typer CLI - completion for small scripts: 'typer-cli.md'
|
2019-12-24 14:01:30 +01:00
|
|
|
- Alternatives, Inspiration and Comparisons: 'alternatives.md'
|
|
|
|
- Help Typer - Get Help: 'help-typer.md'
|
|
|
|
- Development - Contributing: 'contributing.md'
|
|
|
|
- Release Notes: release-notes.md
|
|
|
|
|
|
|
|
markdown_extensions:
|
|
|
|
- toc:
|
|
|
|
permalink: true
|
|
|
|
- markdown.extensions.codehilite:
|
|
|
|
guess_lang: false
|
|
|
|
- markdown_include.include:
|
|
|
|
base_path: docs
|
|
|
|
- admonition
|
|
|
|
- codehilite
|
|
|
|
- extra
|
2020-03-08 18:57:46 +01:00
|
|
|
- pymdownx.superfences:
|
|
|
|
custom_fences:
|
|
|
|
- name: mermaid
|
|
|
|
class: mermaid
|
|
|
|
format: !!python/name:pymdownx.superfences.fence_div_format
|
2020-04-18 12:38:12 +02:00
|
|
|
- pymdownx.tabbed
|
2019-12-24 14:01:30 +01:00
|
|
|
|
|
|
|
extra:
|
|
|
|
social:
|
2020-04-18 12:38:12 +02:00
|
|
|
- icon: fontawesome/brands/github-alt
|
2019-12-24 14:01:30 +01:00
|
|
|
link: 'https://github.com/tiangolo/typer'
|
2020-04-18 12:38:12 +02:00
|
|
|
- icon: fontawesome/brands/twitter
|
2019-12-24 14:01:30 +01:00
|
|
|
link: 'https://twitter.com/tiangolo'
|
2020-04-18 12:38:12 +02:00
|
|
|
- icon: fontawesome/brands/linkedin
|
2019-12-24 14:01:30 +01:00
|
|
|
link: 'https://www.linkedin.com/in/tiangolo'
|
2020-04-18 12:38:12 +02:00
|
|
|
- icon: fontawesome/brands/dev
|
2019-12-24 14:01:30 +01:00
|
|
|
link: 'https://dev.to/tiangolo'
|
2020-04-18 12:38:12 +02:00
|
|
|
- icon: fontawesome/brands/medium
|
2019-12-24 14:01:30 +01:00
|
|
|
link: 'https://medium.com/@tiangolo'
|
2020-04-18 12:38:12 +02:00
|
|
|
- icon: fontawesome/solid/globe
|
2019-12-24 14:01:30 +01:00
|
|
|
link: 'https://tiangolo.com'
|
2019-12-26 21:04:38 +01:00
|
|
|
|
|
|
|
extra_css:
|
|
|
|
- 'css/termynal.css'
|
|
|
|
- 'css/custom.css'
|
|
|
|
|
|
|
|
extra_javascript:
|
2020-03-08 18:57:46 +01:00
|
|
|
- 'https://unpkg.com/mermaid@8.4.6/dist/mermaid.min.js'
|
2019-12-26 21:04:38 +01:00
|
|
|
- 'js/termynal.js'
|
|
|
|
- 'js/custom.js'
|