-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Task Description
At the moment, before building the query pack, one needs to do:
codeql generate query-help *.qhelp --format=markdown -o .
Then:
codeql pack create
A couple of things don't really make sense:
- If you're creating a query pack, if there are
qhelp
files in the same directory where theql
files are, the more intuitive and (requiring less effort) thing to do is to actually identify that there areqhelp
files and automatically process them. The output format for this could be controlled via a property in theqlpack.yml
. - On Github the default format for commenting, editing and documentation is Markdown. So... the default output format for both
codeql generate query-help
and the proposed request for changes should be Markdown and it should be possible to execute the command without having to specify this. - If an
.md
file exists for a.ql
and there is no.qhelp
file, use that instead. I am sure that many other researchers and developers would prefer this option over having to craft a.qhelp
(which is a custom XML) file which will ultimately just get converted to an.md
file in the end.
aegilops, steve-todorov, kristian and s4heid