Commit Graph
3 Commits
Author SHA1 Message Date
Lars Wirzenius 05ab47af74 refactor(src/bin/cibtoolcmd/trigger.rs): use new util module
Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-08-19 18:57:38 +03:00
Lars Wirzenius 13ce97b1f0 fix: "cibtool run add" sets the state if successful
Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-08-16 17:26:49 +03:00
Lars Wirzenius 413fd68642 refactor(cibtool): structure for subcommand implementation
Previously all subcommands for cibtool where in one file,
src/bin/cibtool.rs. That grew rather unwieldy and tiresome to
navigate. Split that into a module cibtoolcmd, with one sub-module per
top level subcommand for the leaf subcommands: the ones that do no
have subcommands themselves. Keep the rest of the subcommand structure
in cibtool.rs, so that it's easier to manage the subcommand structure
in one place.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-08-15 09:29:23 +03:00