dandi / dandi/dandi-cli

Add some kind of --path-type [exact|glob] for delete

Open
#1,446 10 comments 0 reactions 0 assignees View on GitHub
cmd-delete
Dominant language
Python
Stars
28
Forks
37
Avg merge
1d 17h
Merged PRs (30d)
9

Description

ATM we have that option for `download` command.

I am yet not sure how CLI should look like given that we take target file paths or URIs. I guess we could add this option and then treat local paths as globs to be expanded by python locally and on the server. For URLs we would need some custom URI schema to indicate that it is a glob for a particular dandiset (e.g. `dandi-glob:///[@][/]`)

WDYT @jwodder ?

Prompted by

- https://github.com/dandi/helpdesk/discussions/139

although not yet known if really needed in that case.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.