Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
438ff9a
commit 55a104f
Showing
7 changed files
with
88 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
title: 'Available Commands' | ||
--- | ||
|
||
# Available Commands | ||
|
||
`teachcode` offers the following set of commands:- | ||
|
||
| command | description | | ||
| -------------- | ---------------- | | ||
| teachcode init | Initializes all the tasks | | ||
| teachcode fetchtask \<key\> | Fetches the task correponding to key provided | | ||
| teachcode submit | Submits the current task | | ||
| teachcode showkeys | Shows all the keys grabbed | | ||
| teachcode showcommands | Lists all the available commands | | ||
|
||
## Versioning And Help | ||
|
||
| option | description | ||
| --- | --- | | ||
| -V, --version | Check CLI version | | ||
| --help, -h | Get help and check usage | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
title: 'Contributing' | ||
--- | ||
|
||
# Contributing | ||
|
||
## Guidelines | ||
|
||
1. Fork and clone the repository. | ||
2. Navigate to the project directory. | ||
3. Now install the dependencies with `npm install` | ||
4. Create a symlink with `npm link` which enables `teachcode` to be accessed globally. | ||
5. Make your desired changes. | ||
6. Make sure that you run `npm run lint` eventhough there is a `pre-commit` hook configured for the purpose. | ||
7. If everything seems to be fine locally, you may push it to the remote repository by switching to another branch and proposing a Pull Request to the base fork. | ||
|
||
|
||
## Points to ponder | ||
|
||
1. Make sure that you submit an issue first if you have something in mind that you're willing to work on. | ||
2. Follow a `rebase` strategy inorder to update your remote branch with the latest changes. | ||
3. Prefix your branch names with `feat/` or `bugfix/` as per the case. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
title: 'Installation' | ||
--- | ||
|
||
# Installation | ||
|
||
## Prerequisites | ||
|
||
- [**npm**](https://www.npmjs.com/) it is a package manager for the JavaScript programming language. | ||
- [**node.js**](https://nodejs.org/en/) is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code outside of a browser. | ||
- [**git**](https://git-scm.com/) is a version control system for tracking changes in computer files and coordinating work on those files among multiple people. It is primarily used for source code management in software development. | ||
|
||
## Quickstart | ||
|
||
``` bash | ||
npm install -g teach-code | ||
teachcode init | ||
``` |