codefusion
v1.5.0
Published
A simple CLI tool to download accelware project
Readme
Accelware Tool
accelware-tool is a command-line interface (CLI) tool that allows users to create and download project templates for Accelware quickly and easily.
Features
- Login Support: Authenticate with your credentials.
- Project Creation: Choose a project name and generate a custom template.
- API Integration: Fetch and download project templates directly from a remote API.
Installation
Prerequisites
- Node.js: Ensure you have Node.js installed on your machine. You can download it from nodejs.org.
Global Installation
Install the CLI tool globally using npm:
npm install -g codefusion/cliUsage
Available Commands
accelware create
The primary command to create a new project.
When executed, the tool will:
- Prompt for user login credentials.
- Ask for a project name.
- Automatically fetch the corresponding project template via API and download it.
Example:
accelware createaccelware --help
Displays a list of all available commands and usage instructions.
Example:
accelware --helpExamples
Creating a New Project
Run the
createcommand:accelware createEnter your credentials when prompted:
Enter your username: john.doe Enter your password: *****Specify the project name:
Enter the project name: MyAwesomeProjectThe tool will fetch the template, and you'll see a message like:
Project template downloaded successfully!Check your current directory for the downloaded project:
./MyAwesomeProject
Development
Run Locally
To test or develop the CLI locally:
Clone the repository:
git clone https://github.com/your-username/accelware-tool.gitNavigate into the project directory:
cd accelware-toolInstall dependencies:
npm installRun the CLI locally:
node bin/cli.js create
Contributing
We welcome contributions to enhance the functionality of accelware-tool! To contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name - Make your changes and commit them:
git commit -m "Add feature-name" - Push the branch:
git push origin feature-name - Open a pull request on GitHub.
License
This project is licensed under the MIT License. See the LICENSE file for details.
