Skip to content

Instantly share code, notes, and snippets.

@subtleGradient
Forked from jonathantneal/command.js
Last active August 9, 2021 14:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save subtleGradient/efb9bbea1400bc948b06859652c56d75 to your computer and use it in GitHub Desktop.
Save subtleGradient/efb9bbea1400bc948b06859652c56d75 to your computer and use it in GitHub Desktop.
Executable JavaScript Modules
":" /*prettier-ignore*/ //#;exec /usr/bin/env node --input-type=module - "$@" < "$0"
import process from "process";
const { argv } = process;
console.log(argv);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment