Post & Connect with Developers
Note
This CLI tool is currently in Beta. It is not fully complete and may contain bugs or issues. If you encounter any problems or need help, please open an issue on the repository. Your feedback is greatly appreciated and will help improve the tool for the final release.
- Install the CLI via
NPM
:
npm i zemposts
- Run the CLI via
NPX
:
npx zemposts
- Enter your GitHub username when prompted.
You will be prompted a number of commands. Use your Arrow Keys to navigate between each option, and the Enter key to select a specific option. Below is an overview of each command:
1. Clone Repository:
- Command:
👨💻 Clone
- Description: This command allows users to clone either the original ZemPosts repository from GitHub or their forked version. This is useful for users who want to explore and understand ZemPosts.
2. Create a New Post:
- Command:
📘 New Post
- Description: Users can create a new blog post either via a local web interface (localhost) or directly in the terminal. This flexibility allows users to choose their preferred method for content creation.
3. Run Locally:
- Command:
⚡Locally Running
- Description: This command provides instructions for running the project locally. It checks if the repository is already cloned and, if not, guides the user through the cloning process and sets up the local environment.
4. About:
- Command:
💁♂️ About
- Description: Displays a brief overview of ZemPosts, including its purpose and key features. This helps users understand what ZemPosts is and what they can do with it.
5. Key Features:
- Command:
✨ Key Features
- Description: Lists the key features of ZemPosts, highlighting what makes the platform unique and useful for users.
6. Links:
- Command:
🌐 Links
- Description: Provides important links related to ZemPosts, including the GitHub repository, official website, and community support links.
7. Exit:
- Command:
🔴 Exit
- Description: Exits the CLI tool. Users can choose this option when they are done using the CLI.
Caution
Git needs to be installed on your device!
You can easily clone either the original ZemPosts Repository or your forked version through our CLI.
- Select the
👨💻 Clone
option and pressEnter
:
- You will now be prompted to clone either the original repository or your forked version. Use your Arrow Keys to choose, and press Enter to select:
Tip
To clone your forked version, you need to first fork a copy of this repository on your github account. Click here to do so.
- A repository will automatically be cloned.
- If you cloned the original repository, the destination will be
ZemPosts - Zemerik
- if you cloned your forked version, the destination will be
ZemPosts - [Your Github Username]
Caution
You must have cloned your forked version of this repository. Refer to Cloning
section for assistance.
- Use your arrow keys to select the
📘 New Post
option:
- You will then be prompted to either continue in the terminal or open a webpage on localhost. Use your Arrow Keys to choose and press Enter to select
- You will be asked to enter different information such as your Post Title, and Publication Date. Fill out all the required information as this will be showed on the website!
- After you have entered all the required information and submitted, a file would automatically created in the
ZemPosts - [Your Github Username]/src/content/blog
directory with the same title as your post title.
- If necessary, make any changes.
- After you are happy with your post (remember to check for spelling and grammar mistakes), use
git
to commit and push:
cd ZemPosts - [Your Github Username]
git add .
git commit -m "New Post: ..."
git push -u origin main
- Open a Pull-Request on this repository!
Your PR will be merged/reviewed as soon as possible!
- The remaining commands are straightforward and should be easy to use without additional instructions. If you need help with any specific command, please feel free to open an issue for detailed instructions.
For any kind of support or inforrmation, you are free to join our Discord Server,
Don't forget to leave a ⭐
Made with 💖 by Hemang Yadav (Zemerik)