-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Feature request] Remote Commits and Selective Output Downloads for Kaggle CLI #948
Description
Feature request
I would like to propose three specific enhancements to the Kaggle CLI to better support "Headless" workflows and automation.
1. Remote 'Save & Run All' (Commit) via CLI
Feature: Add a --commit flag to the kernels push command.
Function: This would trigger the "Save & Run All" behavior currently only available in the Web UI.
Proposed Command: kaggle kernels push -p /path/to/kernel --commit
2. Selective Output Download
Feature: Add a --file or -f flag to the kernels output command.
Function: Allow users to download a specific file from the /kaggle/working directory without downloading the entire output bundle. This is critical for users working with large model weights who only need a small submission.csv.
Proposed Command: kaggle kernels output user/kernel-slug --file submission.csv
3. Execution Status Tracking
Feature: A command to check the real-time status of a running kernel.
Function: Return if a kernel is Queued, Running, Complete, or Error.
Proposed Command: kaggle kernels status user/kernel-slug
Benefit to the Community:
These changes would allow users to treat the platform more like a remote compute backend, enabling seamless integration with local IDEs and automated CI/CD pipelines for competitions.