mirror of https://github.com/mtshiba/pylyzer
51 lines
696 B
Markdown
51 lines
696 B
Markdown
# command line options
|
|
|
|
## --server
|
|
|
|
Launch as a language server.
|
|
|
|
## --dump-decl
|
|
|
|
Dump a type declarations file (d.er) after type checking.
|
|
|
|
```bash
|
|
$ pylyzer --dump-decl test.py
|
|
Start checking: test.py
|
|
All checks OK: test.py
|
|
|
|
$ ls
|
|
test.py test.d.er
|
|
```
|
|
|
|
## -c/--code
|
|
|
|
Check code from the command line.
|
|
|
|
```bash
|
|
$ pylyzer -c "print('hello world')"
|
|
Start checking: string
|
|
All checks OK: string
|
|
```
|
|
|
|
## --disable
|
|
|
|
Disable a default LSP feature.
|
|
Default (disableable) features are:
|
|
|
|
* codeAction
|
|
* codeLens
|
|
* completion
|
|
* diagnostics
|
|
* findReferences
|
|
* gotoDefinition
|
|
* hover
|
|
* inlayHint
|
|
* rename
|
|
* semanticTokens
|
|
* signatureHelp
|
|
* documentLink
|
|
|
|
## --verbose
|
|
|
|
Print process information verbosely.
|