1.0.2 • Published 1 year ago

scandog v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago