summaryrefslogtreecommitdiff
path: root/script/cli
AgeCommit message (Collapse)Author
2024-05-13Disable await.delay() when running --checkPaul Emmerich
This makes --check about 25% faster.
2024-04-27Add multi-process support to --check.Paul Emmerich
Set the parameter --num_threads to the desired number of worker tasks to potentially speed up --check. This works by spawning multiple sub-proccesses that each run the desired diagnostics on a subset of the workspace. Each process will still load and compile the entire workspace, so there are diminishing returns and memory usage increases linearly with the number of threads. Overall this can reduce the runtime by about ~50% for my projects, example results: Workspace 1, dominated by a few large/complex files 1 thread: 49.7 seconds 2 threads: 31.8 seconds 4 threads: 23.6 seconds 8 threads: 24.4 seconds Workspace 2, large number of small-ish files 1 thread: 96.0 seconds 2 threads: 76.5 seconds 4 threads: 49.5 seconds 8 threads: 38.1 seconds
2024-04-20--check: Attempt to write output even if an error occursPaul Emmerich
This enables writing partial output if you press ctrl-c after seeing the first errors show up.
2024-04-20Output more details while running --checkPaul Emmerich
2024-03-08Merge branch 'master' into doc-updateAndreas
2024-03-05Merge pull request #2547 from emmericp/patch-1最萌小汐
Flush stdout in check progress indicator
2024-02-27Merge branch 'master' into doc-updateAndreas
2024-02-27Merge pull request #2546 from emmericp/check-only-ws最萌小汐
Only load files in workspace for --check (skip libraries)
2024-02-26Only load files in workspace for --check (skip libraries)Paul Emmerich
2024-02-26Flush stdout in check progress indicatorPaul Emmerich
stdout is often line-buffered and needs flushing for the progress indicator to work
2024-02-26Add "deprecated" key in JSON output.Andreas
2024-02-26Add "async" key in JSON output.Andreas
2024-02-26Revert "Add "deprecated" key in JSON output."最萌小汐
2024-02-26Revert "Add "async" key in JSON output."最萌小汐
2024-02-26Merge branch 'master' into doc-updateAndreas
2024-02-26Merge branch 'master' into asyncAndreas
2024-02-24Merge branch 'master' into doc-updateAndreas
2024-02-24Merge branch 'master' into asyncAndreas
2024-02-24Merge branch 'master' into deprecatedAndreas
2024-02-23Enable plugins during --checkDanny Farrell
2024-02-21CLI option --doc_update.Andreas
Update an existing 'doc.json' without using --doc again.
2024-02-20Add "deprecated" key in JSON output.Andreas
2024-02-20Added "async" key in JSON output.Andreas
2024-02-19Merge pull request #2526 from AndreasMatthias/doc-output-path最萌小汐
CLI option --doc_out_path <PATH>.
2024-02-19Merge pull request #2525 from AndreasMatthias/visible最萌小汐
Added 'visible' key (public, protected, ...) in JSON output.
2024-02-17Add 'visible' tag for 'doc.field' and 'tableindex' in JSON output.Andreas
2024-02-15CLI option --doc_out_path <PATH>.Andreas
This CLI option specifies the output directory path for documentation files (eg. 'doc.json').
2024-02-15Added 'desc' and 'rawdesc' keys for variables in JSON output.Andreas
2024-02-15Added 'visible' key (public, protected, ...) in JSON output.Andreas
2024-02-01Add --visualize command that outputs the AST of a given file as graphvizPaul Emmerich
2023-11-25Add raw descriptionsNyakoFox
2023-10-10Add `--check_out_path` CLI argumentRebecca Turner
This allows customizing where the diagnostic JSON file is saved.
2023-06-13update config in checking最萌小汐
fix #2038
2023-04-25export name and comment in returns最萌小汐
2023-04-25fix method view in doc最萌小汐
2023-03-29commandline parameter `checklevel` may not work最萌小汐
2023-03-13export all globals最萌小汐
fix #1943
2023-03-13export from libraries最萌小汐
#1943
2023-03-09fix #1955最萌小汐
2023-03-09export global variables最萌小汐
resolve #1943
2023-02-15should normalize path in filewatch最萌小汐
2023-01-31cleanup最萌小汐
2023-01-30command `lua.exportDocument`最萌小汐
finish #1833
2023-01-16improve type infer of recursion alias最萌小汐
2023-01-12cleanup最萌小汐
2022-12-08cleanup最萌小汐
2022-12-01update json.lua最萌小汐
2022-11-30Fix validation in CLI if diagnostics.severity contains ...! settingsAleksandr Kovalev
2022-09-22CLI `--doc [path]` to make docs最萌小汐
resolve #741 resolve #1291
2022-09-22make docs最萌小汐