-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add dataset
sub-command
#1
Conversation
Is (if this is meta data cache file, perhaps its name should be listed in .gitignore) |
We really appreciate it if sample |
Thanks! This is my mistake and removed! |
cmd/cache.go
Outdated
if err != nil { | ||
fmt.Println("Failed to fetch cache: %s", err) | ||
} | ||
fmt.Println("dataset meta data are cached to %s", config.CacheFile) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fmt.Printf
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed!
cmd/cache.go
Outdated
} | ||
err := metas.Save(config.CacheFile) | ||
if err != nil { | ||
fmt.Println("Failed to fetch cache: %s", err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean Faile to save cache
?
and, need to return ?
Is this message below correct?
$ ./bqiam cache
Failed to fetch cache: %s Failed to save meta data cache file. err: open ~/.bqiam-cache-file.toml: no such file or directory
dataset meta data are cached to %s ~/.bqiam-cache-file.toml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right! I fixed this implementation. Please check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hirosassa LGTM. Thanks!
I implemented
dataset
subcommand that extracts permissions of the input user for each dataset.usage: