rlsbl v0.92.0 /rlsbl.commands.claim_name
On this page

Claim a package name on npm or PyPI by publishing a minimal placeholder package.

#rlsbl.commands.claim_name

#rlsbl.commands.claim_name

Claim a package name on npm or PyPI by publishing a minimal placeholder package.

#run_cmd

python
def run_cmd(target, args, flags)

Claim a package name on a registry by publishing a minimal placeholder.

Checks availability first via check-name, then publishes a version 0.0.0 placeholder package to reserve the name. Supports npm (via npm publish) and PyPI (via uv build + uv publish). Requires NPM_TOKEN for npm or PYPI_TOKEN / UV_PUBLISH_TOKEN for PyPI to be set in the environment. When --yes is passed, proceeds even if the name appears taken or the availability check returns an ambiguous status.