Skip to content

Support hf:// paths in CLI file operations tooling #374

@coderabbitai

Description

@coderabbitai

Feature Request

Summary

The zea.File class already supports hf:// (Hugging Face) paths, but the CLI tooling in zea/data/file_operations.py (subcommands: resave, compound_frames, compound_transmits, sum, extract) does not currently handle hf:// paths as inputs or outputs.

Motivation

It would be convenient to pass hf:// paths directly to the CLI tools — e.g. to quickly grab a file or folder from Hugging Face and run a file operation on it — without requiring a manual download step first.

Proposed Behaviour

  • Accept hf:// as a valid path prefix for input_path (and potentially output_path) arguments across all CLI subcommands.
  • Reuse the existing hf:// resolution logic already present in zea.File.

Related

/cc @tristan-deep

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions