yarn bin
Get the path to a binary script.
Usage
$ yarn bin [name]
Examples
List all the available binaries :
yarn bin
Print the path to a specific binary :
Details
When used without arguments, this command will print the list of all the
binaries available in the current workspace. Adding the -v,--verbose
flag will
cause the output to contain both the binary name and the locator of the package
that provides the binary.
When an argument is specified, this command will just print the path to the binary on the standard output and exit. Note that the reported path may be stored within a zip archive.
Options
Definition | Description |
---|---|
| Print both the binary name and the locator of the package that provides the binary |
| Format the output as an NDJSON stream |