Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
INeedJobToStartWork committed Jan 8, 2024
2 parents d74caf3 + 66c2e09 commit 09709f3
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
![CommitSmileBanner](https://github.com/INeedJobToStartWork/Commit-Smile/assets/97305201/7b18af3e-7472-47f5-99e8-6f97574d2ea7)

# 📜 List of Contest
- [Install](#-list-of-contest)
- [How to start](#how-to-start)
- [Config](#config)
- [Custom file path](#custom-file-path)
- [Init config](#init-config)

## Install
NPM
```bash copy
npm install -D commitSmile
```
PNPM
```bash copy
pnpm add -D commitSmile
```
Yarn
```bash copy
yarn add -D commitSmile
```

### How to start
👋Hello! Glad to see you! There is order task to setup:

### Config
In Default execute app is looking for files names match `/commitsmile.*\.(json|mjs|cjs|js|mts|cts|ts)/iu`

- Name: commitsmile (letters can be uppercase or lowercase or mixed)
- pre ext (optional)
- Ext: `json|mjs|cjs|js|mts|cts|ts`

examples:
- `commitsmile.discord.ts`
- `coMMitSmile.json`

### Custom file path
To set custom path to config we can use optional parameter `-C,--config` where `<PATH>` can be relative or absolute path:
```bash copy
npm run commitSmile -C <PATH>
```
If Path:
- do not include filename it will use standard process to find.
- include - will just check this file (faster way)

### Init config
to init config we use optional paremeter `--init`:
```bash copy
npm run commitSmile --init
```

0 comments on commit 09709f3

Please sign in to comment.