mooeypoo/mwstew-cli
Composer 安装命令:
composer require mooeypoo/mwstew-cli
包简介
A command-line tool to create base mediawiki extension files
README 文档
README
MWStew-CLI: A command line tool to create mediawiki extension files
Usage
Get the package from packagist:
composer install mooeypoo/mwstew-cli
Command: create-extension
To create extension files, run the create-extension command:
./vendor/bin/mwstew create-extension extensionName
By default, files will be created in the path ./extensions/. You can provide a different path by using the --path [new path] command.
To see the available parameters for create-extension command, use ./vendor/bin/mwstew create-extension -h
Command: list-hooks
To see a list of all available recognized hooks from the MediaWiki API, use the list-hooks command:
./vendor/bin/mwstew create-extension list-hooks
You can also search the list of hooks:
./vendor/bin/mwstew create-extension list-hooks --search="api"
To see the available parameters for create-extension command, use ./vendor/bin/mwstew list-hooks -h
Contribute
This is fully open source tool. Pull requests are welcome! Please participate and help make this a great tool!
If you have suggestions or bug reports, please submit an issue.
If you want to contribute to the code, clone and initialize locally:
- Clone the repo
- Run
composer install - Run
composer run testto run tests
- See MWStew for the graphical interface.
- See MWStew-CLI for the extension-creation engine behind this tool.
Authors
Moriel Schottlender (mooeypoo)
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2018-12-28