Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (17 sloc) 692 Bytes
This module implements commands with subtrees of commands.
Suggested use in your project (if you are using git):
- create myproject/extern directory and package:
export PROJECT=myproject
mkdir -p $PROJECT/extern
touch $PROJECT/extern/
- add the submodule:
git submodule add $PROJECT/extern/python-command
cd $PROJECT/extern
ln -sf python-command/command command
- test if you can import it:
python -c "from $PROJECT.extern.command import command; print command"
- Commit the result to git
git add $PROJECT/extern/command
git commit -m "add python command module" .gitmodules $PROJECT/extern/command