Fetch plugin logs from server (#193)
Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>
This commit is contained in:
parent
de0b31b48a
commit
8dd6e7c187
6 changed files with 404 additions and 1 deletions
8
Makefile
8
Makefile
|
@ -278,6 +278,14 @@ ifneq ($(HAS_WEBAPP),)
|
|||
endif
|
||||
rm -fr build/bin/
|
||||
|
||||
.PHONY: logs
|
||||
logs:
|
||||
./build/bin/pluginctl logs $(PLUGIN_ID)
|
||||
|
||||
.PHONY: logs-watch
|
||||
logs-watch:
|
||||
./build/bin/pluginctl logs-watch $(PLUGIN_ID)
|
||||
|
||||
# Help documentation à la https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
|
||||
help:
|
||||
@cat Makefile build/*.mk | grep -v '\.PHONY' | grep -v '\help:' | grep -B1 -E '^[a-zA-Z0-9_.-]+:.*' | sed -e "s/:.*//" | sed -e "s/^## //" | grep -v '\-\-' | sed '1!G;h;$$!d' | awk 'NR%2{printf "\033[36m%-30s\033[0m",$$0;next;}1' | sort
|
||||
|
|
Reference in a new issue