1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

add makefile + show-help-output target

The show-help-output target makes it easy to see the help output of
all non-hidden pip commands.
This commit is contained in:
Georgi Valkov 2012-12-10 03:34:17 +02:00
parent 416ab39519
commit 98e3ef6cfb

15
Makefile Normal file
View file

@ -0,0 +1,15 @@
SHELL := /bin/bash
show-help-output:
@echo -e "------------- pip help -------------\n"
@pip help
@echo
@for cmd in \
`pip help \
| sed -ne'/Commands:/,/General Options:/s,^\s.*,&,p' \
| awk '{print $$1}'`; do \
echo -e "------------- pip help $$cmd -------------\n"; \
pip help $$cmd; \
echo; echo; \
done