Set up runner subcommand
This commit is contained in:
parent
7635af88cd
commit
4f69f5cb21
3 changed files with 25 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ pub const VERSION: &str = concat!(env!("CARGO_PKG_VERSION"), " (", env!("VERGEN_
|
|||
pub struct ServerCommand {
|
||||
/// Path to the repo's tablejohn database.
|
||||
pub db: PathBuf,
|
||||
// TODO Make repo optional
|
||||
/// Path to the git repo.
|
||||
pub repo: PathBuf,
|
||||
}
|
||||
|
|
@ -14,6 +15,7 @@ pub struct ServerCommand {
|
|||
#[derive(Debug, clap::Parser)]
|
||||
pub enum Command {
|
||||
Server(ServerCommand),
|
||||
Runner,
|
||||
}
|
||||
|
||||
#[derive(Debug, clap::Parser)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue