Socket
Socket
Sign inDemoInstall

tos-cli

Package Overview
Dependencies
111
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    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.


Version published
Weekly downloads
4
decreased by-20%
Maintainers
1
Install size
13.6 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 10 Jul 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc