[CDF-26424]fix: upload with arguments (#2247)

# Description

<img width="264" height="191" alt="image"
src="https://github.com/user-attachments/assets/4ffcdcd1-e43f-43d9-bf07-a95d850b98e7"
/>

## Bump

- [x] Patch
- [ ] Skip

## Changelog

### Fixed

- In the data plugin, `cdf data upload dir` now works with argument and
not only in interactive mode.
