add doc
This commit is contained in:
parent
b8aa7140ad
commit
0d255d2283
34
README.md
Normal file
34
README.md
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# Snippeteer
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
to work with the @scode scope you have to add the following line to your npmrc
|
||||||
|
for this particular one you'll have to add it to the global npmrc stored in your home folder (~/.npmrc)
|
||||||
|
|
||||||
|
```npmrc
|
||||||
|
@scode:registry=https://npm.scode.ovh
|
||||||
|
```
|
||||||
|
|
||||||
|
then install the module using the following command
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm i -g @scode/snippeteer
|
||||||
|
```
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
````sh
|
||||||
|
snippeteer [snippet] [..args]
|
||||||
|
```
|
||||||
|
|
||||||
|
All snippets will be executed relative to your current working directory!
|
||||||
|
|
||||||
|
## Snippets
|
||||||
|
|
||||||
|
### Snippet
|
||||||
|
|
||||||
|
Creates a new snippet template
|
||||||
|
|
||||||
|
```sh
|
||||||
|
snippeteer snippet [name]
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user