CLI Commands
cnspec lsp
Launch the MQL Language Server for editor integration with autocompletion and diagnostics.
Start the MQL Language Server Protocol (LSP) server to get editor integration features such as autocompletion, diagnostics, and hover information when writing MQL queries. Configure your editor to use this command as the language server for .mql.yaml files.
cnspec lsp [flags]Options
-h, --help help for lspOptions inherited from parent commands
--api-proxy string Set the proxy for communications with Mondoo Platform API
--auto-update Enable automatic provider installation and update (default true)
--config string Set config file path (default $HOME/.config/mondoo/mondoo.yml)
--log-level string Set the log level: error, warn, info, debug, trace (default "info")
-v, --verbose Enable verbose outputSEE ALSO
- cnspec - cnspec CLI