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

Simplify ResourceOption #1627

Open
lengau opened this issue Apr 3, 2024 · 1 comment
Open

Simplify ResourceOption #1627

lengau opened this issue Apr 3, 2024 · 1 comment
Labels
Enhancement New feature or request good first issue

Comments

@lengau
Copy link
Collaborator

lengau commented Apr 3, 2024

What needs to get done

ResourceOption should just be a class that gets used in the CLI. We don't need to instantiate it and then call it

For an example of the simpler model, refer to: canonical/snapcraft#4701 (comment)

Why it needs to get done

The current code is a bit weird to read.

@lengau lengau added Enhancement New feature or request good first issue labels Apr 3, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-2663.

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request good first issue
Projects
None yet
Development

No branches or pull requests

1 participant