Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Cli::into_str_args #356

Open
itegulov opened this issue Nov 14, 2023 · 1 comment
Open

Refactor Cli::into_str_args #356

itegulov opened this issue Nov 14, 2023 · 1 comment
Labels
Emerging Tech Emerging Tech flying formation at Pagoda Near BOS NEAR BOS team at Pagoda

Comments

@itegulov
Copy link
Contributor

Description

This is a very manual and error-prone pattern. We could invest some time into creating a proper trait and a derive macro so that it works on any clap struct hierarchy. Honestly, I am surprised there is nothing ready in clap itself

CC @ChaoticTempest

@itegulov itegulov added Near BOS NEAR BOS team at Pagoda Emerging Tech Emerging Tech flying formation at Pagoda labels Nov 14, 2023
@ChaoticTempest
Copy link
Member

Yeah, seems like with the amount of times we're actually doing this pattern, it's probably worth creating a library for it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Emerging Tech Emerging Tech flying formation at Pagoda Near BOS NEAR BOS team at Pagoda
Projects
Status: Backlog
Development

No branches or pull requests

2 participants