You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,31 +4,41 @@ Welcome to the project! We're glad you're here and interested in contributing. B
4
4
5
5
## How to Contribute
6
6
7
+
### Repository Structure
8
+
9
+
This repository uses a automated version release using the mains 3 branches:
10
+
11
+
-**master**: Contains the code on the actual `@latest` package channel.
12
+
-**beta**: Contains the code on the actual `@beta` package channel.
13
+
-**dev**: Contains the code of actual development, every `BREAKING CHANGE` and `feat` commit must be done on this branch.
14
+
15
+
### Step by Step
16
+
7
17
1.**Fork the repository:** Click on the "Fork" button on the top right corner of the repository's page, then clone your fork locally.
8
18
9
-
2.**Create a new branch:** Make your changes in a new branch created from the `main` branch. Choose a descriptive name for your branch related to the issue or feature you're working on.
19
+
2.**Create a new branch:** Make your changes in a new branch created from the `dev` branch or `main` for `fix` or others specific situations. Choose a descriptive name for your branch related to the issue or feature you're working on.
10
20
11
21
3.**Make your changes:** Implement the changes or additions you'd like to contribute. Please follow any existing coding style and conventions.
12
22
13
23
4.**Test your changes:** Ensure that your changes do not break existing functionality. If you're adding new features, include tests to cover your code.
14
24
15
-
5.**Commit your changes:** Make meaningful and atomic commits. Please provide a clear and descriptive commit message for each commit.
25
+
5.**Commit your changes:** Make meaningful and atomic commits. Please provide a [clear and descriptive commit message](https://www.conventionalcommits.org/en/v1.0.0/#summary) for each commit.
16
26
17
27
6.**Push your changes:** Once your changes are ready, push your branch to your fork of the repository.
18
28
19
29
7.**Create a Pull Request (PR):** Go back to the original repository and navigate to the Pull Requests tab. Click on "New Pull Request" and choose your branch as the compare branch. Fill out the PR template with relevant information and details about your changes.
20
30
21
31
8.**Review and address feedback:** Be open to feedback and iterate on your changes if necessary. Respond promptly to any comments or requests for changes from the maintainers.
22
32
23
-
9.**Merge your PR:** Once your PR has been approved and all checks have passed, a maintainer will merge your changes into the main branch. Congratulations on your contribution!
33
+
9.**Merge your PR:** Once your PR has been approved and all checks have passed, a maintainer will merge your changes into the respective branch. Congratulations on your contribution!
24
34
25
35
## Code of Conduct
26
36
27
37
Please note that this project is governed by our [Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project, you agree to abide by its terms.
28
38
29
39
## Contributor License Agreement (CLA)
30
40
31
-
By contributing to this project, you agree to license your contributions under the [project's license](LICENSE.md).
41
+
By contributing to this project, you agree to license your contributions under the [project's license](LICENSE).
Copy file name to clipboardExpand all lines: README.md
+12-21Lines changed: 12 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# Foji
1
+
# Foji ⚒️
2
2
3
-
Foji is a command-line interface (CLI) tool designed to help you automate and manage your coding tasks. It allows you to run custom codes and handle custom parameters.
3
+
Foji is a powerful command-line interface (CLI) tool crafted to streamline and automate long or repetitive commands in your daily workflow. With Foji, you can define and execute custom commands, integrate custom parameters, and simplify complex processes, reducing the need to repeatedly type lengthy commands.
4
4
5
5
## Features
6
6
@@ -16,19 +16,21 @@ Foji is a command-line interface (CLI) tool designed to help you automate and ma
16
16
-[x] Configuration can be downloaded from cloud
17
17
-[x] Local configuration can be synced from cloud
18
18
19
-
## Installation
19
+
## System Dependencies
20
+
21
+
Foji makes use of [Node.js](https://nodejs.org/) package manager to be installed.
20
22
21
-
Before installing Foji, make sure you have [Node.js](https://nodejs.org/) installed on your machine.
23
+
## Installation
22
24
23
-
To install Foji globally, run the following command:
25
+
To install Foji run the following command:
24
26
25
27
```shell
26
28
npm i foji -g
27
29
```
28
30
29
31
## Usage
30
32
31
-
Foji saves your commands and your configuration url at it's configuration file (`~/.config/foji.json`). You can access the `.config` directory using `foji config` or open the file directly using `foji config -f` command.
33
+
Foji saves your commands and your configurations at it's configuration file (`~/.config/foji.json`). You can access the `.config` directory using `foji config` or open the file directly using `foji config -f` command.
32
34
33
35
### Running a Command
34
36
@@ -37,13 +39,14 @@ To run a `command` just use:
37
39
```shell
38
40
foji [command name] [...command args]
39
41
```
42
+
40
43
Simple as that.
41
44
42
45
If you don't provide a valid command name Foji will list all available commands, it includes default commands (eg.: `add`, `remove` and `sync`) and your own commands.
43
46
44
47
### Skipping a Argument
45
48
46
-
You also can skip a (optional) argument using "_":
49
+
You also can skip a (optional) argument using "\_":
0 commit comments