Skip to content

Commit

Permalink
Edit documentation and add the glopal instalation part
Browse files Browse the repository at this point in the history
  • Loading branch information
nesmon committed Jan 7, 2023
1 parent 91055e5 commit 3cabf95
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ in reality it's just birth because needed to setup fixture in a project and want
But you will probably find a better utility than me ^^

## Installation
You can install it by using NPM or Yarn:
You can install it by using NPM locally :
```bash
npm install kurami
```

or globally :
```bash
yarn add kurami
npm install -g kurami
```

## Setup
Expand Down Expand Up @@ -49,8 +49,11 @@ module.exports = TestCommand;

```

Then run ``./node_modules/.bin/kurami {commandName}``
You can add a npm script to run it more easily :
### If installed globally
Then run in your project ``kurami {commandName}`` in your project folder

### If installed locally
Then run ``./node_modules/.bin/kurami {commandName}`` in your project folder or add a npm script to run it more easily :
```json
{
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kurami",
"version": "1.0.0",
"version": "1.0.1",
"description": "A command console system for nodejs project",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 3cabf95

Please sign in to comment.