-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Labels
Description
Currently to write a compile_commands.json from the output of the command you have to do this:
compdb -p build/ list > compile_commands.json
While this is fine for just using the plain CLI, it is problematic for automating the process in programs that do not use the shell, but call the program directly.
I think that there should be a command line option to write the output to a file, not to stdout, so writing compile_commands.json could be like this:
compdb -o compile_commands.json -p build/ list