Commit aa1cb557 authored by Nong Hoang Tu's avatar Nong Hoang Tu
Browse files

add help for config

parent fafe88a8
Pipeline #2187 canceled with stages
......@@ -51,7 +51,20 @@ proc full_help*() =
echo " 5. Use \e[92mgbp tag\e[0m to create new tag."
echo " 6. Use \e[92mgbp push\e[0m to push all changes with all branches."
echo "Config file:"
echo " Config file is allocated at same folder with binary (for now). # TODO more description here."
echo " Config file is allocated at same folder with binary (for now). Config file has:"
echo " - Required fields:"
echo " + \e[96mgit_url\e[0m Github URL, must be SSH protocol, to clone, pull and push project"
echo " + \e[96mdev_name\e[0m Full name of maintainer to write into Debian's changelog"
echo " + \e[96mdev_email\e[0m Work email of maintainer to write into Debian's changelog"
echo " - Optional fields:"
echo " + \e[96mroot_path\e[0m Parent folder of projects will be updated. If value is empty"
echo " This tool will create a folder \e[33mpackages\e[0m at same folder of this tool."
echo " + \e[96mlog_path\e[0m Parent folder of log files will be saved. If value is empty"
echo " This tool will create a folder \e[33mlogs\e[0m at same folder of this tool."
echo " + \e[96mgbp_path\e[0m Custom path of command \e[92mgbp\e[0m of package \e[33mgit-buildpackage\e[0m"
echo " If value is empty, this tool uses default path \e[92m/usr/bin/gbp\e[0m"
echo " + \e[96muscan_path\e[0m Custom path of command \e[33muscan\e[0m. If value is empty,"
echo " this tool uses default path \e[92m/usr/bin/uscan\e[0m"
echo "Example:"
echo " - Update all projects: \e[33m./updater \e[96mupdate\e[0m"
echo " - Clone \e[95mwpscan\e[0m: \e[33m./updater \e[96mclone \e[95mwpscan\e[0m"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment