define help_text
TARGETS:

help (default target)
    print this help message

protocol
    perpare a new protocol with the current date

protocol*
    perpare a new protocol with another date

update
    upload the protocol of the current branch to the cloud

cwl
    compare the CWL file for autocompletion with that in the specified directory
    to enable recent changes

getcwl
    compare the CWL file for autocompletion in the specified directory with that in this directory
    to copy recent changes in the remote file

endef

help:
	$(info $(help_text))

protocol:
	@sh ./cmds/make_helper.sh $(shell date +%Y_%m_%d)

protocol*:
	@read -p "Enter protocol date in the format YYYY_MM_DD: " DATE_S ; \
	sh ./cmds/make_helper.sh "$$DATE_S"

update:
	@sh ./cmds/update2.sh --color

cwl:
	@sh ./cmds/cwl.sh to_remote

getcwl:
	@sh ./cmds/cwl.sh from_remote
