# modman python版本 **Repository Path**: jinko/py-modman ## Basic Information - **Project Name**: modman python版本 - **Description**: modman python版本 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-07-29 - **Last Updated**: 2022-06-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #modman python版本 python版本推荐 3.5+ **不支持2.x版本** ```shell modman --help ``` to show help message ``` 模块管理器 (v1.1) 用模块法: modman.bat <命令> [<模块>]... [<选项> [<值>]...]... 用法: py modman.py <命令> [<模块>]... [<选项> [<值>]...]... ------------------------------------------------------------------------ <命令>: list 列出所有模块 l 等价于 'list' init 初始化当前目录 i 等价于 'init' clone 从git仓库中克隆项目并部署(指定 --nodeploy 选项则不直接部署) c 等价于 'clone' update 更新指定的有效模块 up 等价于 'update' deploy 部署指定的有效模块 d 等价于 deploy undeploy 卸载有效的模块 ud 等价于 undeploy deploy-all 卸载所有模块 (类似于 'deploy *') da 等价于 'deploy-all' d-all 等价于 'deploy-all' remove 移除存在的模块 (从.modman目录中删除硬盘上的文件) rm 等价于 'remove' clean 清除无效的链接 (可以在移除模块之后使用此命令) help 显示帮助信息 h 等价于 'help' -h 等价于 'help' --h 等价于 'help' -help 等价于 'help' --help 等价于 'help' version 显示modman版本号 v 等价于 'version' -v 等价于 'version' --v 等价于 'version' -version 等价于 'version' --version 等价于 'version' pjpath 显示项目路径 mmpath 显示modman路径 lang 显示当前语言 setlang 设置语言 <选项>: --force 强制执行命令, 覆盖已存在的目录或文件 -f 等价于 '--force' --copy 部署时复制对应文件而不是创建链接 --absolute 部署时创建的链接使用绝对路径而不是相对路径 --abs 等价于 '--absolute' --yes 关闭多个模块的警告 -y 等价于 '--yes' --nodeploy 克隆之后不要立即部署 -nd 等价于 '--undeploy' --all 执行list命令时列出所有的模块, 包括无效的模块 -a 等价于 '--all' --short 执行list命令时只显示模块 --list remove命令使用此参数则只列出要删除的目录 -s 等价于 '--short' --undeploy 执行remove命令的时候先卸载对应的模块 -ud 等价于 '--undeploy' --emptydir 执行clean命令时同时删除空目录 -ed 等价于 '--emptydir' ``` ``` Modules Manager (v1.1) usage: modman.bat []... [ []...]... usage: py modman.py []... [ []...]... ------------------------------------------------------------------------ : list list all valid modules l same as 'list' init initialize the pwd as the modman deploy root i same as 'init' clone checkout a new modman-compatible module using git clone c same as 'clone' update update all modules that are currently checked out up same as 'update' deploy deploy an existing module d same as deploy undeploy remove an existing module without deleting the files ud same as undeploy deploy-all deploy all valid modules (like 'deploy *') da same as 'deploy-all' d-all same as 'deploy-all' remove remove a module (DELETES MODULE FILES) rm same as 'remove' clean clean up broken symlinks (run this after deleting a module) help display this help message h same as 'help' -h same as 'help' --h same as 'help' -help same as 'help' --help same as 'help' version display the modman script's version v same as 'version' -v same as 'version' --v same as 'version' -version same as 'version' --version same as 'version' pjpath show project path mmpath show modman path lang show current language setlang set language