Skip to content

Allow glob in CLI mode #28

@Tiliavir

Description

@Tiliavir

The CLI should allow the usage of glob in my opinion - somthing like:

w3cjs validate "**/*.{htm,html}"

Currently I get

PS T:\> ./node_modules/.bin/w3cjs validate "**/*.html"
fs.js:584
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open 'T:\**\*.html'

System Info:

  • w3cjs 0.3.0
  • Windows 10 / PowerShell 5
  • node.js 5.11.0 / npm 3.8.6

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