Add CLI support for listing notebook versions
- Dominant language
- Python
- Stars
- 7.5k
- Forks
- 1.4k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 11
Description
Currently it is difficult to determine available notebook versions through the CLI.
The CLI supports submitting notebook outputs using:
```
-k
-v
```
However, there appears to be no API endpoint to retrieve notebook version history or determine the latest version programmatically.
For automation workflows, it would be useful to have a command such as:
```
kaggle kernels versions
```
that lists notebook versions and their statuses.
Exposing notebook version metadata would enable:
- automation pipelines
- notebook-based competition submissions
- latest-version submission helpers
- tracking notebook execution history
Example output:
```
Version 1 COMPLETE
Version 2 COMPLETE
Version 3 RUNNING
```
Contributor guide
Research direction
Start by tracing the existing CLI handling for `-k ` and `-v ` and checking how notebook metadata is exposed. Define the `kaggle kernels versions ` command and its version/status output, then verify that it supports the automation workflows described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100