Skip to content

variable as Vec<PathBuf> where paths could contain commas? #14

Open
@Boscop

Description

@Boscop

The readme says that it supports parsing into Vec by separating the values by commas.
If I want to parse a variable as Vec<PathBuf> where each path could contain commas, would it work by putting that path in single quotes?
E.g.

FOLDERS='C:\Foo,Bar',D:\Baz

resulting in vec![r"C:\Foo,Bar", r"D:\Baz"]?

And if there is a space after the separating comma, it won't work, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions