-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
qhelpfiles in the same directory where theqlfiles are, the more intuitive and (requiring less effort) thing to do is to actually identify that there areqhelpfiles 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-helpand the proposed request for changes should be Markdown and it should be possible to execute the command without having to specify this. - If an
.mdfile exists for a.qland there is no.qhelpfile, 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.mdfile in the end.
aegilops, steve-todorov, kristian and s4heid

