UNPKG

nopcli

Version:

nopCommerce CLI is a development tool for build plugins for nopCommerce Solutions.

83 lines (65 loc) โ€ข 2.48 kB
<h1 style="text-align:center">nopCommerce CLI - The modern web developer's tool. <img src="https://app.travis-ci.com/DiogenesPolanco/nopCommerce-cli.svg?branch=development" alt="build:"> </h1> <p style="text-align:center"> <img src="https://raw.githubusercontent.com/DiogenesPolanco/nopCommerce-cli/development/src/assets/images/logos/nopcli.png" alt="nopCommerce CLI-logo" width="120px" height="120px"/> <br> <i>nopCommerce CLI is a development tool for build plugins for nopCommerce Solutions.</i> <br> </p> <p style="text-align:center"> <a href="CONTRIBUTING.md">Contributing Guidelines</a> ยท <a href="https://github.com/DiogenesPolanco/nopCommerce-cli/issues">Submit an Issue</a> ยท <a href="https://dev.to/diogenespolanco/nopcommerce-cli-4do5">Blog</a> <br> <br> </p> <hr> ## Description NopCli is a bilder nopCommerce plugin, and it gives you the opportunity to start a plugin in less than 5 minutes! ## Development Setup ### Prerequisites - Install <a href="https://nodejs.org/es/download/">[node.js] </a> - Install <a href="https://dotnet.microsoft.com/download">[dotnet core]</a> - Install <a href="https://git-scm.com/downloads">[git]</a> - Clone <a href="https://github.com/nopSolutions/nopCommerce">[nopCommerce]</a> ### nopCommerce version supported - 4.20 [netcoreapp2.2] - 4.30 [netcoreapp3.1] - 4.40 [net5.0] - 4.50 [net6.0] - 4.60 [net6.0] ### Setting Up a Plugin of nopCommerce Install the nopCommerce CLI globally: ``` $ npm install -g nopcli ``` Prepare your environment with clone nopCommerce from git: ``` $ nopcli init --git ``` Create configuration of plugins by default: ``` $ nopcli config ``` Create plugin: ``` $ nopcli new -g=[GROUP NAME] -p=[PLUGIN NAME] -c=[true|false (default=false)] ``` Build the plugin: ``` $ nopcli build -g=[GROUP NAME] -p=[PLUGIN NAME] ``` nopCommerce CLI is cross-platform, fast, scalable, has incredible tooling, and is loved by millions. <p> <a href="https://www.paypal.com/donate/?hosted_button_id=VM4NMF6PY4SMG"> <img width="185" src="https://raw.githubusercontent.com/DiogenesPolanco/nopCommerce-cli/development/src/assets/images/badge.svg" alt="Badge"/> </a> <br><br> <b>๐Ÿ™Œ Use <a href="https://www.paypal.com/donate/?hosted_button_id=VM4NMF6PY4SMG">donations</a> to help support <b>this</b> project! ๐Ÿ™Œ</b> <br> <br> <b>Love <a href="https://github.com/DiogenesPolanco/nopCommerce-cli">nopCommerce CLI?</a> Give our repo a star :star: :arrow_up:.</b> </p>