sachaos/viddy

Quotes in command get removed (Bug?)

YoungOak opened this issue · 1 comments

First of all, awesome CLI!

The commands im using are sadly not supported as of v4.0.0, its double quotes get removed after being passed into viddy, eg:

My command:

gcloud compute instances list --format="table(name,status,creationTimestamp.date('%Y-%m-%d'))" --filter="name~'custom-name'"

But if I pass that to viddy it runs:

viddy gcloud compute instances list --format="table(name,status,creationTimestamp.date('%Y-%m-%d'))" --filter="name~'custom-name'"
gcloud compute instances list --format=table(name,status,creationTimestamp.date('%Y-%m-%d')) --filter=name~'custom-name'

Which fails the command, that requires both single and double quotes. I wonder if this can be addressed.

This is not exclusive to viddy so thats why im not sure if this is a bug for this place or not. Feel free to close this Issue if this should not be handled here.

Nope, skill issue, escaping most quotes and deferring for double where able solves this. Closing this useless Issue.