-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improvements to the
check
command. (#18)
* feat: improvements to the `check` command. This commit contains the following improvements: * use `wdl-analysis` for the `check` command that will perform a full static-analysis on the specified file or directory. * add a progress bar to display for the `check` command. * use `clap-verbosity-flag` for the `quiet` and `verbose` flags; this has the advantage of being error level by default and each `-v` specified drops the log level down by one; this gives a little more control over the previous implementation that supported either info (default), debug (-v), or error (-q). * we now colorize the `error` part of handling errors from command execution, displaying the full context of the error, and exiting with status code 1. * feat: add `--deny-notes` option to the `check` command. * feat: make the `lint` command also perform an analysis. * chore: code cleanup and removal of unused code. This commit also exposes the commands as part of the `sprocket` crate from which `main.rs` will use.
- Loading branch information
1 parent
77e7183
commit b266a4a
Showing
11 changed files
with
249 additions
and
315 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
//! Implementation of sprocket CLI commands. | ||
|
||
pub mod analyzer; | ||
pub mod check; | ||
pub mod explain; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.