Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A python module to help implementing command-line applications with a hierarchic tree of commands.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 command
Octocat-spinner-32 scripts
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 ChangeLog
Octocat-spinner-32 README
Octocat-spinner-32 TODO
Octocat-spinner-32 design.otl
README
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/__init__.py
- add the submodule:
  git submodule add https://github.com/thomasvs/python-command.git $PROJECT/extern/python-command
  pushd
  cd $PROJECT/extern
  ln -sf python-command/command command
  popd
- 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
Something went wrong with that request. Please try again.