cyclopts icon indicating copy to clipboard operation
cyclopts copied to clipboard

Shared configuration between commands

Open mezuzza opened this issue 6 months ago • 4 comments

Is there a good way to share flags between commands? It's a bit of a pain to rewrite them over and over. For example, I'd like to share an API key across all commands but right now I just copy that parameter across commands which is a bit tedious.

Love the library btw. It's a really intuitive approach overall.

mezuzza avatar Aug 13 '24 00:08 mezuzza