getkirby / cli

Kirby Command Line Interface
MIT License
51 stars 5 forks source link

Support spaces in the sites folder name #46

Closed HashandSalt closed 7 months ago

HashandSalt commented 1 year ago

Install commands work fine on the OSX main volume, but not, if like me, you keep all your code on a seperate volume. Create the zip file in the folder, but then fails to unpack and create the project folder.

bastianallgeier commented 1 year ago

To be honest, I'm not sure if this is really easy to solve.

HashandSalt commented 1 year ago

Possibly talking out of my hat here, but is it related to this? similar solution maybe? https://github.com/getkirby/kirby/issues/5024

HashandSalt commented 1 year ago

@bastianallgeier Actually, this isnt the issue at at!! i just noticed actually does work on a seperate volume after all. What it doesnt like is spaces in the folder names. This also happens on the root volume.

You can re-produce if you create a folder in, say the documents folder on your mac called My Kirby Project then use the CLI to install the plainkit. It'll go nuts! Change the folder name to MyKirbyProject and it works fine.

bastianallgeier commented 1 year ago

Oh, that makes it a lot less hard then :)