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

Streamline CLI commands to reduce the duplicate initializations #354

Open
jrschumacher opened this issue Aug 30, 2024 · 0 comments
Open

Comments

@jrschumacher
Copy link
Member

Not critical right now. What I'd like to do in the next refactor is move NewHandler and InitProfile into the cli.New() process... I feel like we can handle the close as part of c.Close() and make sure it's uniform.

I think part of that work will be adding cli.New() to the preRun process. Not sure if we can pass the object back to the command, but something to look at later.

Originally posted by @jrschumacher in #350 (comment)

@jrschumacher jrschumacher changed the title Streamline CLI Streamline CLI commands to reduce the duplicate initializations Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant