Compare commits
3 Commits
6ef33b6294
...
master
Author | SHA1 | Date | |
---|---|---|---|
33e7b7acfa | |||
f27193163d | |||
bde8bc99b1 |
@@ -7,7 +7,7 @@ This branch is a rewrite of the [previous in Java Developed branch](https://git.
|
||||
### Requirements
|
||||
- NodeJS >= 14
|
||||
|
||||
You can either: [Build a executeable](#build-a-executeable) or [Runing from Source](#running-from-source)
|
||||
You can either: [Build a executeable](#build-a-executeable) or [Running from Source](#running-from-source)
|
||||
|
||||
### Build a executeable
|
||||
|
||||
@@ -43,7 +43,7 @@ pnpm run pkg
|
||||
yarn run pkg
|
||||
```
|
||||
|
||||
Your builded binary executeable should be in bin/
|
||||
Your builded binary executeable should be located in `bin/`
|
||||
|
||||
### Running from Source
|
||||
|
||||
|
3
index.js
3
index.js
@@ -16,6 +16,9 @@ const BACKUPS_DIRECTORY = path.join(CURRENT_FOLDER, 'backups');
|
||||
const TEMP_DIR = path.join(CURRENT_FOLDER, '.temp');
|
||||
|
||||
const run = async (programArgs) => {
|
||||
if (programArgs === undefined || programArgs.action === undefined) {
|
||||
return;
|
||||
}
|
||||
const ACTION = programArgs.action.toLowerCase();
|
||||
switch (ACTION) {
|
||||
case 'exit':
|
||||
|
Reference in New Issue
Block a user