Start with hello world
This commit is contained in:
parent
997d908be0
commit
1fd977fede
6 changed files with 38 additions and 23 deletions
23
.gitignore
vendored
23
.gitignore
vendored
|
|
@ -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
|
||||
|
|
|
|||
0
.ocamlformat
Normal file
0
.ocamlformat
Normal file
34
README.md
34
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
|
||||
|
|
|
|||
2
bin/dune
Normal file
2
bin/dune
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
(executable
|
||||
(name main))
|
||||
1
bin/main.ml
Normal file
1
bin/main.ml
Normal file
|
|
@ -0,0 +1 @@
|
|||
print_endline "Hello"
|
||||
1
dune-project
Normal file
1
dune-project
Normal file
|
|
@ -0,0 +1 @@
|
|||
(lang dune 3.21)
|
||||
Loading…
Add table
Add a link
Reference in a new issue