Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alilmq/aliplayer-cli
Aliplayer播放器的命令行工具,可用于创建体验项目
https://github.com/alilmq/aliplayer-cli
Last synced: 2 months ago
JSON representation
Aliplayer播放器的命令行工具,可用于创建体验项目
- Host: GitHub
- URL: https://github.com/alilmq/aliplayer-cli
- Owner: alilmq
- Created: 2017-08-25T03:05:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-13T15:30:32.000Z (over 7 years ago)
- Last Synced: 2024-11-02T06:02:24.456Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 797 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-github-star - aliplayer-cli
README
## 创建Aliplayer播放器项目命令
Aliplayer-cli命令行可以创建Aliplayer的体验Demo
### 安装
依赖于[node.js](https://nodejs.org)
```sh
npm install aliplayer-cli -g
```
### 使用介绍
#### 命令格式
```sh
aliplayer-cli
```
#### 参数
命令有两个参考:
- type: 项目类型,可选值为['simple'](https://github.com/alilmq/aliplayer-simple-demo) or ['webpack'](https://github.com/alilmq/h5demo),simple(简单类型)项目就只包含一个html文件, webpack(复杂类型)项目包含了组件化、使用webpack、区分测试和生产环境等。
- folder: 在那个文件夹下创建项目
#### 例子
```sh
aliplayer-cli simple aliplayer-demo
```