1.3.1 • Published 8 months ago

cmd-snippets v1.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

cmd-snippets

version license created by Ivan Polushin

Create cmd snippets

Install

npm

npm i -g cmd-snippets

yarn

yarn global add cmd-snippets

Usage

Add script to %appdata%/cmd-snippets-storage

echo console.log('hello world') >> C:\\Users\\User\\AppData\\Roaming\\cmd-snippets-storage\\hello-world.js

Or

echo "console.log('hello world')" >> ~/.config/cmd-snippets-storage/hello-world.js

And now you can run it with

snip hello-world

To list all snippets run

snip list

Currently support python and node (but it can be extended in EXECUTORS)

1.3.1

8 months ago

1.2.1

9 months ago

1.2.0

10 months ago

1.1.0

10 months ago

1.0.0

10 months ago