add BaseCommand

adds missing `get_inputs` and `get_outputs`

used by pip.