Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI should be able to understand filenames with spaces #96

Open
stevesims opened this issue Nov 20, 2024 · 1 comment
Open

CLI should be able to understand filenames with spaces #96

stevesims opened this issue Nov 20, 2024 · 1 comment
Milestone

Comments

@stevesims
Copy link
Contributor

stevesims commented Nov 20, 2024

a filename with a space in it can't be used in the CLI at present. (well, you can via using wildcards with some commands)

these files can exist in the filing system, and can be saved via the API but the method of extracting arguments from the CLI will split at space characters

it should be possible to have arguments enclosed by double-quote characters, so "long file name.txt" for instance should be interpreted as a single argument - and the quotes excluded when the filepath is being used

(the tab-completion system will also see filenames with spaces in them and tab-complete them, but then those files cannot be used. tab-completed filenames that include spaces should enclose the whole filename in double-quotes)

@stevesims stevesims changed the title CLI should h CLI should be able to understand filenames with spaces Nov 20, 2024
@stevesims stevesims added this to the MOS 3 milestone Nov 30, 2024
@stevesims
Copy link
Contributor Author

This is now partially supported. Tab completion however does not yet understand spaces in filenames

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

No branches or pull requests

1 participant