tos-cli

6.0.0 • Public • Published

tos-cli

tos-cli is a command-line interface (CLI) tool for generating project templates. It provides an interactive and customizable way to create projects with ease.

MIT License

Features

  • Interactive prompts to gather project details.
  • Template choices based on the selected language (JavaScript or TypeScript).
  • Customizable project name, package name, version, description, author, license, and more.
  • Integration with popular package managers (npm, yarn, pnpm).
  • Option to select and install additional libraries.
  • Automatic update of package.json with user-defined package details.
  • Installation of project dependencies using the chosen package manager.

Installation

Before using tos-cli, ensure that you have Node.js installed on your system. You can install Node.js from here.

To install tos-cli globally, open your terminal and run the following command:

npm install -g tos-cli
yarn global add tos-cli

Usage

To generate a new project using tos-cli, follow these steps:

  1. Open your terminal.
  2. Navigate to the directory where you want to create the project.
  3. Run the following command:
tos-cli

If the above command doesn't work, you can try using npx:

npx tos-cli
  1. You will be prompted with a series of questions to provide project details. Answer the prompts accordingly.
  2. Once you have provided all the required information, tos-cli will generate the project in the current directory with the specified details and dependencies.

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue on the GitHub repository.

Pull requests are also appreciated. To contribute to tos-cli, please follow the guidelines outlined in the CONTRIBUTING.md file.

License

This project is licensed under the MIT License.

Authors

Feedback

If you have any feedback, please reach out to us at mysganguli@gmail.com

License

MIT

Package Sidebar

Install

npm i tos-cli

Weekly Downloads

3

Version

6.0.0

License

MIT

Unpacked Size

43.4 kB

Total Files

25

Last publish

Collaborators

  • iamsganguli