CLI reference

coderpad

Upload starter code to existing CoderPad questions.

Usage

coderpad [OPTIONS] COMMAND [ARGS]...

Options

--version

Show the version and exit.

questions

Manage question starter code.

Usage

coderpad questions [OPTIONS] COMMAND [ARGS]...

upload

Replace starter code while preserving question metadata.

Usage

coderpad questions upload [OPTIONS] QUESTION_ID

Options

--directory <directory>

Project directory.

--file <source_file>

UTF-8 starter code file.

--exclude <exclude>

Additional Gitignore pattern at the upload root. Repeatable.

--dry-run

Validate and list files without credentials or network access.

Arguments

QUESTION_ID

Required argument