定制 creativspeed/cscart-cli 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

creativspeed/cscart-cli

Composer 安装命令:

composer create-project creativspeed/cscart-cli

包简介

CSCart & Multivendor Command Line Tools for Developers

README 文档

README

CSCart & Multivendor Command Line Tools for Developers

Usage

a command line tool to help Cs-Cart & Multi-Vendor developers scaffold add-on and theme for easy developemnt.

Installing

You'll need Composer installed in your system. Check out its installation guide if you haven't done that before.

When the Composer is installed, just execute this command in your console:

$ composer global require "creativspeed/cscart-cli"

Executing commands

$ cscart command:name

Command list

addon:new

Create new add-on files, allowing you to develop and store add-on files in a separate Git repository.

Description:
  Scaffold a new Cs-Cart & multi-vendor Add-on

Usage:
  addon:new [options] [--] <name> [<path>]

Arguments:
  name                  Add-on name [ID]
  path                  Add-on folder location (optional)

Options:
  -c, --controller      create Add-on controller
  -l, --local           change or add Add-on languages
  -t, --theme           add var/themes_repository
  -h, --help            Display help for the given command. When no command is given display help for the list command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
      --env[=ENV]       The environment the command should run under
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
addon:link

Symbolic Link Add-on to CSCart & Multivendor for better Add-on development

Description:
  symbolik linking cs-cart Add-on to cs-cart installation for better and easy development

Usage:
  addon:link [options] [--] <addon> <cart>

Arguments:
  addon                 path to Add-on directory
  cart                  path to Cs-cart/multivendor installation directory

Options:
  -t, --templates       take the add-on templates from "var/themes_repository"
  -h, --help            Display help for the given command. When no command is given display help for the list command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
      --env[=ENV]       The environment the command should run under
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
addon:unlink

Delete the addon-on symbolic link from your CSCart & Multivendor installation

Description:
  delete symbolik linking cs-cart Add-on from cart installation

Usage:
  addon:unlink [options] [--] <addon> <cart>

Arguments:
  addon                 path to Add-on directory
  cart                  path to Cs-cart/multivendor installation directory

Options:
  -t, --templates       take the add-on templates from "var/themes_repository"
  -h, --help            Display help for the given command. When no command is given display help for the list command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
      --env[=ENV]       The environment the command should run under
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

统计信息

  • 总下载量: 19
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-11-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固