xonotic的包装经理。
xmm的Python项目详细描述
用于 xonotic-map-repository 项目。
与非官方的xonotic地图库一起使用, xonotic.co,默认情况下。
json提供了关于映射包的丰富元数据,这使得它更容易 去辨别他们之间的差异。
有关可用数据的信息,请检查JSON Structure。##要求
debian/ubuntu
如果您还没有python 3的pip和setuptools:
sudo apt install python3-pip python3-setuptools
安装
pip3 install xmm --user
或用于开发:
git clone https://github.com:z/xonotic-map-manager.git cd xonotic-map-manager python3 setup.py develop
使用量
usage: xmm [-h] [--version] [-S [SERVER]] [-T [TARGET]] [-R [REPOSITORY]] {search,install,remove,discover,list,show,export,servers,repos,update,hello} ... Xonotic Map Manager is a tool to help manage Xonotic maps positional arguments: {search,install,remove,discover,list,show,export,servers,repos,update,hello} search search for maps based on bsp names install install a map from the repository, or specify a URL. remove remove based on pk3 name discover discover packages in a target directory list list locally installed packages show show details of remote or locally installed packages export export locally managed packages to a file servers subcommands on servers described in servers.json repos subcommands on repos described in sources.json update update sources json hello hello is an example plugin optional arguments: -h, --help show this help message and exit --version show program's version number and exit -S [SERVER], --server [SERVER] target server as defined in servers.json -T [TARGET], --target [TARGET] target directory -R [REPOSITORY], --repository [REPOSITORY] repository to use (defaults to all available)
文件
文档托管在 readthedocs.io。
贡献
欢迎对本项目的贡献,请阅读 CONTRIBUTING.md。
0.8.0/2016-12-22
添加
- 多重回购支持
- 使用Sphinx创建文档,位于readthedocs.io
- travis的综合测试和ci
- 通过argcomplete 完成bash和zsh的参数
- -L标记在xmm show子命令上显式指示 显示本地安装的地图的详细信息。否则, 源集合缓存用于所有信息。
- -R如果使用多个存储库,则指定单个存储库的标志
- --version标志
- export命令还支持两种格式,shasums,maplist (BSPS)或回购JSON(7)
- servers命令与子命令一起添加list
- repos命令与子命令一起添加list
- --highlight,-H标志变成--color
- 用户可配置的日志记录
更改
- 彻底检查公开python api的代码库
- 不再使用pickle,将数据存储在json
- 配置更新,请参阅 Upgrading