Sujet : Re: Common objects for CLI (Posting On Python-List Prohibited)
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.pythonDate : 20. Sep 2024, 22:28:58
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vckpeq$18k7r$1@dont-email.me>
References : 1
User-Agent : Pan/0.160 (Toresk; )
On Fri, 20 Sep 2024 10:42:14 +0200, Loris Bennett wrote:
With Typer, is there a way I can define the equivalent of class
attributes at a single point which are then available to all commands?
Never used Typer, but I see some details about more advanced use that
might be relevant here:
<
https://typer.tiangolo.com/tutorial/subcommands/single-file/>