File operations
files
files(glob, callback)
Filters out files using glob. By default all the files will be found.
Parameters
glob
string | readonly string[]
Accepts string and template literals. You can space or comma-separate multiple globs.
callback
(subcommands: Subcommands) => Promise<void> | void
A callback which will be executed for each file. First argument is an object with subcommands. It can be destructured to get access to subcommands.