diff --git a/.gitignore b/.gitignore index ab951f8..e35d885 100644 --- a/.gitignore +++ b/.gitignore @@ -1,22 +1 @@ -# ---> Rust -# Generated by Cargo -# will have compiled files and executables -debug/ -target/ - -# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries -# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html -Cargo.lock - -# These are backup files generated by rustfmt -**/*.rs.bk - -# MSVC Windows builds of rustc generate these, which store debugging information -*.pdb - -# RustRover -# JetBrains specific template is maintained in a separate JetBrains.gitignore that can -# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore -# and can be added to the global gitignore or merged into this file. For a more nuclear -# option (not recommended) you can uncomment the following to ignore the entire idea folder. -#.idea/ +_build diff --git a/.ocamlformat b/.ocamlformat new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md index e8f5262..fbc8e31 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,34 @@ -# inspector +# Inspector +- [ ] Stage 1: Split the terminal +- [ ] Stage 2: Show a live log +- [ ] Stage 3: Add a command line at the bottom +- [ ] Stage 4: Commands that call external tools +- [ ] Stage 5: UUID / OpaqueRef resolver + +## Step 1 + +- Smallest program that splits the area into two parts + - top: Log area + - bottom: cli + +## Step 2 + +- Fake logs + - Replace top placeholder with fake logs + - Refreshing UI + - Scrolling + +## Step 3 + +- Command line interface + - to be defined + +## Step 4 + +- External command: we will need to all `xe` +- Access to XAPI database + +## Step 5 + +- Query for UUID and OpaqueRef diff --git a/bin/dune b/bin/dune new file mode 100644 index 0000000..69dd4ad --- /dev/null +++ b/bin/dune @@ -0,0 +1,2 @@ +(executable + (name main)) diff --git a/bin/main.ml b/bin/main.ml new file mode 100644 index 0000000..be5e39e --- /dev/null +++ b/bin/main.ml @@ -0,0 +1 @@ +print_endline "Hello" diff --git a/dune-project b/dune-project new file mode 100644 index 0000000..e1b8e59 --- /dev/null +++ b/dune-project @@ -0,0 +1 @@ +(lang dune 3.21)