Skip to content

feat(cli): add upload, download, and info client commands - #7

Merged
injaeryou merged 1 commit into
mainfrom
feat/cli-client
Jul 22, 2026
Merged

feat(cli): add upload, download, and info client commands#7
injaeryou merged 1 commit into
mainfrom
feat/cli-client

Conversation

@injaeryou

Copy link
Copy Markdown
Owner

Purpose

Client-side CLI subcommands on the resumable-upload console script — no Python needed. Stacked on feat/proxy-location.

  • upload <file> --url (resumable, progress, --parallel, --metadata, --checksum)
  • download <url> -o <out> (server GET endpoint)
  • info <url> (HEAD: offset / length / complete / metadata)

Docs: docs/operations/cli.md + README + README.ko + CHANGELOG.

Test Plan

  • tests/test_cli.py::TestCLIClient — roundtrip, parallel, bad-metadata against an in-process server
  • make ci

Test Result

  • pytest -v green; ruff + ty check clean

Checklist
  • PR title follows Conventional Commits (type(scope): ...)
  • pytest -v passes locally
  • ruff check / ruff format --check / ty check resumable_upload clean
  • Tests added for new behavior or regression
  • No new core runtime dependencies (cloud SDKs go in optional extras)
  • If wire/header/status-code behavior changed, TUS_COMPLIANCE.md updated
  • Docs / examples updated if user-facing behavior changed

- upload: resumable, --parallel, --metadata, --checksum, progress line
- download: stream a completed upload to a file
- info: HEAD an upload for offset/length/complete/metadata
- tests, docs/operations/cli.md, and README updated
@injaeryou
injaeryou force-pushed the feat/proxy-location branch from a384143 to dd699a5 Compare July 22, 2026 10:31
@injaeryou
injaeryou force-pushed the feat/proxy-location branch from dd699a5 to b2ec7dc Compare July 22, 2026 10:40
@injaeryou
injaeryou force-pushed the feat/cli-client branch 2 times, most recently from 6bf7101 to cf71970 Compare July 22, 2026 10:50
@injaeryou
injaeryou force-pushed the feat/proxy-location branch from b2ec7dc to 7070638 Compare July 22, 2026 10:50
Base automatically changed from feat/proxy-location to main July 22, 2026 10:53
@injaeryou
injaeryou merged commit 26b376f into main Jul 22, 2026
10 checks passed
@injaeryou
injaeryou deleted the feat/cli-client branch July 22, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant