You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: main.go
+7-1
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ import (
16
16
varclangdPathstring
17
17
varcompileCommandsDirstring
18
18
varcliPathstring
19
+
varcliConfigPathstring
19
20
varinitialFqbnstring
20
21
varinitialBoardNamestring
21
22
varenableLoggingbool
@@ -26,6 +27,7 @@ func main() {
26
27
flag.StringVar(&clangdPath, "clangd", "clangd", "Path to clangd executable")
27
28
flag.StringVar(&compileCommandsDir, "compile-commands-dir", "", "Specify a path to look for compile_commands.json. If path is invalid, clangd will look in the current directory and parent paths of each source file. If not specified, the clangd process is started without the compilation database.")
28
29
flag.StringVar(&cliPath, "cli", "arduino-cli", "Path to arduino-cli executable")
30
+
flag.StringVar(&cliConfigPath, "cli-config", "", "Path to arduino-cli config file")
29
31
flag.StringVar(&initialFqbn, "fqbn", "arduino:avr:uno", "Fully qualified board name to use initially (can be changed via JSON-RPC)")
30
32
flag.StringVar(&initialBoardName, "board-name", "", "User-friendly board name to use initially (can be changed via JSON-RPC)")
31
33
flag.BoolVar(&enableLogging, "log", false, "Enable logging to files")
0 commit comments