cyclopts
cyclopts copied to clipboard
Intuitive, easy CLIs based on python type hints.
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.0 to 8.2.1. Release notes Sourced from pytest's releases. 8.2.1 pytest 8.2.1 (2024-05-19) Improvements #12334: Support for Python 3.13 (beta1 at the time of writing). Bug Fixes...
This PR aims to make it easier to supply configuration defaults from a configuration file by introducing a new `cyclopts.App` parameter called `bound_args_transform`. `bound_args_transform` is a callable (or list of...
First of all, this project looks great! I would love to replace `Typer` with `cyclopts` in my CLIs. However, there is an important `Click` feature currently lacking in `cyclopts`: `auto_env_var_prefix`...
have you seen https://pypi.org/project/typed-settings/? would it be interesting to combine this with cycleopt to deal with configuration files?
[//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to...
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.5.0 to 7.5.1. Changelog Sourced from coverage's changelog. Version 7.5.1 — 2024-05-04 Fix: a pragma comment on the continuation lines of a multi-line statement now excludes the...
Adding support for nested pydantic model. For instance: ```python from pydantic import BaseModel class FuncArgs(BaseModel): a: int b: str def f(input: FuncArgs): ... class MainInputs(BaseModel): f_arg: FuncArgs name: str @app.default...
Hi! Thanks for building this awesome tool. I'm loving using it so far, and excited to show our users how awesome our CLIs can be. I did want to get...
Curious if this project currently has completion (couldn't find it in the docs or code) or if there are aspirations to provide completion in the future??
When [creating the interactive shell](https://cyclopts.readthedocs.io/en/latest/cookbook/interactive_help.html), you probably don't really want to expose the command that, well, creates the shell. Currently, you can enter a shell from a shell etc., endlessly....