question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider adding an --exclude argument for Windows-compatible globbing

See original GitHub issue

Hi @RomanHotsiy and @adamaltman 👋🏼

I work on a project (I think you know the one!) that uses a command like this:

openapi bundle -o dist --ext=json definitions/*[!next].yml

We use that [!next] part to ignore files with next in their name. But this type globbing expression is not supported on Windows. At one point we discussed that this package, openapi-cli, could support an --exclude argument or similar that could be used to achieve this same effect while still supporting Windows users.

cc @jf205 @rachmari

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
andriylcommented, Oct 6, 2020

fixed on #196

0reactions
zekecommented, Oct 6, 2020

Sweet! Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add an exclusion to Windows Security - Microsoft Support
Under Virus & threat protection settings, select Manage settings, and then under Exclusions, select Add or remove exclusions. Select Add an exclusion, and...
Read more >
support globs in tsconfig.json files property (or just file ... - GitHub
We will need the ability to exclude node_modules and ... Option 3) Add glob support to tsconfig's files array so I can do...
Read more >
Globbing pattern to exclude files in directory, but include ...
hi, i have a similar issue when need to include it all into one "command" due to usage in CLI. – sKopheK ·...
Read more >
Begin a glob with an exclude pattern - Unix Stack Exchange
1 Answer 1 · This seems super obvious when I read it, but man bash for complete says "The arguments to the -G...
Read more >
Using Filters to Include and Exclude Files - IBM
Filters refine the list of source files (or directories) to transfer by indicating which to skip or include based on name matching.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found