Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 1.45 KB

todo.org

File metadata and controls

57 lines (36 loc) · 1.45 KB

Todo list for status

[0/4] Parser support

We would like to have basic control over checking status, pausing testing, and starting testing. Detailed control would be desirable.

As the code functions right now, the parser is unable to allow such arguments like this:

$ ./run service check test1 test2 test3
$ ./run service pause test1 test3
$ ./run service start test2 test3

We can’t do this because of how the clap library functions, getting such error:

error[E0277]: the trait bound `ServiceSubcommand: clap::Args` is not satisfied
  --> src/pipes/listen.rs:21:13
   |
21 |     Service(ServiceSubcommand),
   |             ^^^^^^^^^^^^^^^^^ the trait `clap::Args` is not implemented for `ServiceSubcommand`
   |
   = help: the following other types implement trait `clap::Args`:
             Box<T>
             Cli
             ServiceArgs

[ ] Baseline

Before we can do Check, Pause, Start, the baseline needs to be done

HOLD Check

Check should print out the info of the service

HOLD Pause

Pause should pause checking/testing the service every x seconds

HOLD Start

Start, pretty much just start it again after having been stopped.

[ ] Add example command scripts for all 3 formats that actually function like one would use it

To clear up some confusion, this is probably not a bad idea

[ ] Add timestamp to printing

Nice to have