CLI reference

hackerrank

Upload starter files to existing HackerRank project questions.

Usage

hackerrank [OPTIONS] COMMAND [ARGS]...

Options

--version

Show the version and exit.

questions

Manage project-question starter files.

Usage

hackerrank questions [OPTIONS] COMMAND [ARGS]...

upload

Replace project starter files while preserving question metadata.

Usage

hackerrank questions upload [OPTIONS] QUESTION_ID

Options

--directory <directory>

Project directory.

--file <source_file>

One starter file, uploaded as a single-file project archive.

--exclude <exclude>

Additional Gitignore pattern at the upload root. Repeatable.

--dry-run

Validate and list files without credentials or network access.

--retries <retries>

Retry count delegated to the SDK for this repeatable upload.

Default:

0

Arguments

QUESTION_ID

Required argument