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

feat: Add glob support #116

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

feat: Add glob support #116

wants to merge 7 commits into from

Conversation

JinnyYi
Copy link
Contributor

@JinnyYi JinnyYi commented Nov 17, 2021

ref: #98

cmd/byctl/ls.go Outdated
for i := 0; i < c.Args().Len(); i++ {
conn, path, err := cfg.ParseProfileInput(c.Args().Get(i))
// parse args
var storePathMap = make(map[*operations.SingleOperator][]string)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The map here looks strange. I'm not sure whether to expand all the globs first, or one by one (expand one and then execute List).

@JinnyYi JinnyYi marked this pull request as ready for review November 30, 2021 13:38
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.

1 participant