Name: yet-another-importer-using-python
Owner: cdnjs
Description: null
Created: 2016-05-27 13:40:20.0
Updated: 2016-06-06 04:29:58.0
Pushed: 2016-06-13 05:02:46.0
Homepage: null
Size: 6
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Now only support NPM package
Environment setting:
You should open importer.py and set your own cdnjs_path and minify_path variables
usage:
on importer.py [-h] --lib-name LIB_NAME --git-url GIT_URL [--npm-pkg NPM_PKG] --lib-author LIB_AUTHOR --issue-num ISSUE_NUM
cdnjs importer
optional arguments:
--help # show this help message and exit
b-name LIB_NAME, -l LIB_NAME # The library name wanted to import to cdnjs
t-url GIT_URL, -g GIT_URL # The git repository url of the library
m-pkg NPM_PKG, -n NPM_PKG # The npm package name of the library
b-author LIB_AUTHOR, -a LIB_AUTHOR # The author's github account of the library
sue-num ISSUE_NUM, -i ISSUE_NUM # The issue number of cdnjs
dependencies:
install gitpython
reference:
http://gitpython.readthedocs.io/en/stable/intro.html