|
|
@ -43,6 +43,8 @@ Create a `personal-shopper.mjs` script that: |
|
|
|
- If the list is empty, this message should appear in console: |
|
|
|
- If the list is empty, this message should appear in console: |
|
|
|
`Empty list.`. |
|
|
|
`Empty list.`. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If no keyword is passed as second argument, the helper should be printed in the console. |
|
|
|
|
|
|
|
|
|
|
|
#### Examples |
|
|
|
#### Examples |
|
|
|
|
|
|
|
|
|
|
|
- `node personal-shopper.mjs shopping-list.json create` would create the file |
|
|
|
- `node personal-shopper.mjs shopping-list.json create` would create the file |
|
|
|