/invoke

Call the function exported by the module from the CLI.

Primary LanguageTypeScript

@anatoo/invoke

npm version

Call the function exported by the module from the CLI.

Install

$ yarn add @anatoo/invoke

Usage

Call default exported function in "./foo.js":

$ yarn invoke "./foo.js"

Call "hello" named export function in "./foo.js":

$ yarn invoke "./foo.js" hello

License

MIT License

Author

Kubota Mitsunori, @anatoo