Kaggle / Kaggle/kaggle-cli

feature request: download to self named folder

Open
#96 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
7.5k
Forks
1.4k
Avg merge
3d 15h
Merged PRs (30d)
11

Description

Could you add flag to the API that is effectively this one line equivalent? I end up doing this each time.
`cd X; mkdir X; download X`

- For example X="google-analytics-customer-revenue-prediction"
-
- `mkdir google-analytics-customer-revenue-prediction;cd google-analytics-customer-revenue-prediction; kaggle competitions download -c google-analytics-customer-revenue-prediction`
-
- Possible flags: -s --self-named-path
-
- Fails if that path X already exists of the files exits. Needs a "force" flag to overwrite.

Note current flags for reference:
```
usage: kaggle competitions download [-h] [-f FILE_NAME] [-p PATH] [-w] [-o]
[-q]
[competition]
```

Also, -w (current working path seems to be default) ... is this needed?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.