1.3.1 • Published 2 years ago
cmd-snippets v1.3.1
cmd-snippets
Create cmd snippets
Install
npm
npm i -g cmd-snippetsyarn
yarn global add cmd-snippetsUsage
Add script to %appdata%/cmd-snippets-storage
echo console.log('hello world') >> C:\\Users\\User\\AppData\\Roaming\\cmd-snippets-storage\\hello-world.jsOr
echo "console.log('hello world')" >> ~/.config/cmd-snippets-storage/hello-world.jsAnd now you can run it with
snip hello-worldTo list all snippets run
snip listCurrently support python and node (but it can be extended in EXECUTORS)