Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yashgupta-dev/cscart-shell
use to create extension and controller, language, model, template, library it will save your max time to create files.
https://github.com/yashgupta-dev/cscart-shell
composer cscart php shellscripting
Last synced: 25 days ago
JSON representation
use to create extension and controller, language, model, template, library it will save your max time to create files.
- Host: GitHub
- URL: https://github.com/yashgupta-dev/cscart-shell
- Owner: yashgupta-dev
- License: mit
- Created: 2024-07-21T07:18:33.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-07-21T12:49:11.000Z (4 months ago)
- Last Synced: 2024-09-30T22:40:41.850Z (about 1 month ago)
- Topics: composer, cscart, php, shellscripting
- Language: Shell
- Homepage: https://packagist.org/packages/code-corner/cscart-shell
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cscart.sh
## Description
This script provides a set of functionalities to manage OpenCart addons and libraries from the command line.## Usage
```
cscart.sh {create-addon |install-validation-library|create-addon-zip [-z] |delete }
```### Commands:
#### create-addon
Creates an OpenCart addon with the specified name.**Arguments:**
- ``: Name of the addon to create. Should only contain alphanumeric characters and underscores.**Example:**
```
cscart.sh create-addon my_new_addon
```#### install-validation-library
Installs a validation library. This command is self-contained and does not require additional arguments.**Example:**
```
cscart.sh install-validation-library
```#### create-addon-zip [-z]
Creates a zip file for an addon.**Arguments:**
- ``: Name of the addon to create a zip for.
- `[-z] `: Optional flag to compress the addon files into a zip archive.**Example:**
```
cscart.sh create-addon-zip my_addon -z my_addon.zip
```#### delete
Deletes an existing addon.**Arguments:**
- ``: Name of the addon to delete.**Example:**
```
cscart.sh delete my_addon
```### Notes:
- Make sure to replace `` and `` with actual names as per your requirements.
- The script assumes basic validation for addon names (alphanumeric characters and underscores).
- Use each command as per your specific needs and ensure proper input to avoid errors.## Author
Yash Gupta## License
This project is licensed under the Yash Gupta ( Code Corner ) License - see the LICENSE file for details.---
Replace `Yash Gupta` with your actual name and `Yash Gupta ( Code Corner )` with the specific license under which your script is distributed. If you don't have a license file yet, you may want to consider adding one to specify the terms under which others can use, modify, and distribute your script.