Skip to content

I tried 0.7.3 and the cli doesn't work yet. #317

@Scrum

Description

@Scrum

I tried 0.7.3 and the cli doesn't work yet. Here is how I use it:

posthtml "some/inputFolder/**/*.html" "!**/some/outFolder/**" -r some/inputFolder -a -o some/outFolder

(notice the glob patterns are quoted so that the shell doesn't expand them).

In order for fast-glob to grab those files you shouldn't resolve the path to absolute - you should remove the following line

.map(file => path.join(path.resolve(root), file));

Originally posted by @giuseppeg in #313 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions