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
Both CLI tools have similar, yet slightly different code and usage. This PR makes them more consistent.
In `emmylua_doc_cli`:
- added positional parameter `[WORKSPACE]...`;
- deprecated `-i, --input` in favor of `[WORKSPACE]...`;
- added `-c, --config` to specify location of `.emmyrc.json`/`.luarc.json`;
- added `--ignore` to specify ignored files. No short option for `--ignore` because that would clash with `-i, --input`;
- deprecated long option `--format` in favor of `--output-format`;
- supported `--output stdout` for JSON output;
- re-implemented debug output using `log` crate, added `--verbose` option;
- contents of `init.rs` are now identical to those from `emmylua_check`.
In `emmylua_check`:
- added short option `-f` for output format,
- supported specifying multiple workspaces.
0 commit comments