Generate c_cpp_properties.json from pio CLI

Im only using CLI (not extension) on my vscode remote, i would like to have the file c_cpp_properties.json generated, is that possible? its very helpful to get intelissense working out of the box. I searched the docs but did not found anything specific