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

import: allow skipping members #28

Merged
merged 1 commit into from
May 1, 2024
Merged

import: allow skipping members #28

merged 1 commit into from
May 1, 2024

Conversation

wilsonehusin
Copy link
Member

Don't hard fail on failure to import members, so we don't prevent users from importing other things until #27 is addressed.

@@ -72,3 +72,11 @@ func MultiSelectf[T any](options []T, toString func(T) string, title string, arg

return values, selected, nil
}

func YesNo(title string, args ...any) (bool, error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol the function name is perfect

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could have been yes_no? if ruby

@wilsonehusin wilsonehusin merged commit 7ac2838 into main May 1, 2024
4 checks passed
@wilsonehusin wilsonehusin deleted the wh/skip-members branch May 1, 2024 21:11
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

Successfully merging this pull request may close these issues.

2 participants