Re: Common objects for CLI (Posting On Python-List Prohibited)

Liste des GroupesRevenir à cl python 
Sujet : Re: Common objects for CLI (Posting On Python-List Prohibited)
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.python
Date : 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/>

Date Sujet#  Auteur
20 Sep 24 * Common objects for CLI commands with Typer7Loris Bennett
20 Sep 24 +- Re: Common objects for CLI (Posting On Python-List Prohibited)1Lawrence D'Oliveiro
21 Sep 24 +- Re: Common objects for CLI commands with Typer1Barry
21 Sep 24 +- Re: Common objects for CLI commands with Typer12QdxY4RzWzUUiLuE
23 Sep 24 +- Re: Common objects for CLI commands with Typer1Barry Scott
23 Sep 24 +- Re: Common objects for CLI commands with Typer12QdxY4RzWzUUiLuE
16 Oct 24 `- Re: Common objects for CLI commands with Typer1Roland Müller

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal