explain command (#7957)

# Description

The purpose of this PR is to introduce the `inspect` command. A command
that is used to inspect, but not run, a pipeline to ensure everything
looks right. This is meant as a debugging tool. This is some hackery, so
don't laugh. :)

![image](https://user-images.githubusercontent.com/343840/217896776-99c6bece-172c-4d3d-8cec-dda85d37cada.png)
This commit is contained in:
Darren Schroeder
2023-02-09 13:59:38 -06:00
committed by GitHub
parent 16b99ed0ba
commit c31225fdcf
4 changed files with 346 additions and 0 deletions

View File

@ -2,6 +2,7 @@ mod benchmark;
mod complete;
#[cfg(unix)]
mod exec;
mod explain;
mod nu_check;
#[cfg(any(
target_os = "android",
@ -20,6 +21,7 @@ pub use benchmark::Benchmark;
pub use complete::Complete;
#[cfg(unix)]
pub use exec::Exec;
pub use explain::Explain;
pub use nu_check::NuCheck;
#[cfg(any(
target_os = "android",