1.0.2 • Published 3 years ago

scandog v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

✨Welcome to Scandog🐕

Scandog checks if there exist files with the specified suffix for all files matching globs.

Usage

You can call scandog from the npx command without installing it.

npx scandog <suffix> --patterns <patterns...> <other options>

--patterns is required. You can use a short alias.

npx scandog <suffix> -p <patterns...> <other options>

Basic

npx scandog .spec -p '**/*.{ts,tsx}'
npx scandog .stories -p '**/*.tsx'

Ignore config files with negated glob patterns

You can use negated glob patterns.

npx scandog .spec -p '**/*.{ts,tsx}' '!*.config.ts'

Ignore patterns from .gitignore

You can use "-g" or "--gitignore" option to apply ignore patterns from ".gitignore" file. This is a useful option to ignore the "dist" or "build" directories.

npx scandog .spec -p '**/*.{js.ts}' -g

Options

-p, --patterns

Glob patterns. Scandog uses "globby" as glob engine. Please visit globby#readme for how to write glob.

-g, --gitignore

This option applies ignore patterns from ".gitignore" file. The node_modules directory is always ignored even if you don't use this option.

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.0.0

3 years ago