A Command-Line Interface for generating a production-ready starter template.
- xarvis-express-js - A Xarvis Express app with JavaScript: (See features list)
- xarvis-express-ts - A Xarvis Express app with TypeScript: (See features list)
The below command will make the xarvis command available globally, allowing you to use it from anywhere in your terminal.
$ npm install -g xarvis-cli
Display the usage information.
Usage: xarvis <command> [arguments]
🚀 A Command-Line Interface for generating production ready starter template.
Options:
-v, --version Display the current version.
-h, --help Display the usage information.
Commands:
create Creates a new xarvis project in the specified directory.
help [command] Display the usage information.
Creates a new Xarvis Express project in the specified directory.
Usage: xarvis create express-app <project-name> [arguments]
Creates a new Xarvis Express project in the specified directory.
Options:
-o, --output-directory The optional desired output directory when creating a new project.
-t, --template The template for this project. (choices: "javascript", "typescript")
--description The description for this new project. (default: "An Express starter project
created by Xarvis CLI.")
--skip-git Whether or not to skip initializing git (default: false)
-h, --help Display the usage information.
Note: The --template
and --description
are required. If not provided by the CLI options, questions will be prompted, as shown in the below example.
$ xarvis create express-app my-app
? Enter the project description: An Express starter project created by Xarvis CLI.
? Choose a project template to use: (Use arrow keys)
> javascript
typescript
# Displays usage information for Xarvis CLI
$ xarvis -h
# Displays usage information for `xarvis create` command
$ xarvis create -h
# Displays usage information for `xarvis create express-app` command
$ xarvis create express-app -h
The project is released under the MIT License. Learn more about it, here.
We welcome any ideas or recommendations about how to make the tool better. Unless there is an overwhelming demand for a feature, it might not get implemented.
Before posting, be kind to your surroundings and the authors who take joy in developing new features and writing documentation to help you.
Create an issue including as much information as possible to your proposal. To create an issue -
- Go to the issues tab from the project repository.
- Then click on new issue.
- You'll have to choose type of the issue. In this case, click on Get Started button for the Feature Request type.
- Fill up the details and Submit new issue.
Developed and Maintained with 💜 by thecodexhub