Skip to main content

EManual CLI - Command Line Interface for EManual

Project description

EManual-CLI
-----------
[![PyPI version](https://badge.fury.io/py/emanual.svg)](http://badge.fury.io/py/emanual)
[![Downloads](https://pypip.in/download/emanual/badge.png)](https://pypi.python.org/pypi/emanual/)

Command Line Interface for EManual

install
-------
```shell
pip install emanual
```

Usage
-----

1. 创建`info.json` & 把中文文件名变为拼音
```shell
cd path/to/md-xxx
emanual create
// `./dist/markdown`就是生成的内容
````

2. 生成lang.zip
```shell
emanual dist {lang} //lang为指定的语言,小写
```


Development
-----------

1. 使用virtualenv,未安装则`pip install virtualenv`
```shell
//创建虚拟的python开发环境
virtualenv env

//开启
source env/bin/activate

//退出
activate
```

2. 安装依赖
```
pip install -r requirements-dev.txt
```

3. 动态加载当前库
```shell
cd path/to/EManual-CLI
pip install --edit .
//or
pip install -e .
```

4. 安装测试
```shell
python setup.py install
emanual --version
```

dependency
--

- [click](https://github.com/mitsuhiko/click)
- [path.py](https://github.com/jaraco/path.py)
- [pypinyin}(https://github.com/smallqiao/pypinyin)


License
-------

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

emanual-0.3.4.tar.gz (3.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page