entrenar/config/cli/research/
mod.rs1mod bundle;
4mod cite;
5mod deposit;
6mod export;
7mod init;
8mod preregister;
9mod verify;
10
11#[cfg(test)]
12mod tests;
13
14use clap::{Parser, Subcommand};
15
16pub use bundle::BundleArgs;
18pub use cite::CiteArgs;
19pub use deposit::DepositArgs;
20pub use export::ExportArgs;
21pub use init::ResearchInitArgs;
22pub use preregister::PreregisterArgs;
23pub use verify::VerifyArgs;
24
25#[derive(Parser, Debug, Clone, PartialEq)]
27pub struct ResearchArgs {
28 #[command(subcommand)]
30 pub command: ResearchCommand,
31}
32
33#[derive(Subcommand, Debug, Clone, PartialEq)]
35pub enum ResearchCommand {
36 Init(ResearchInitArgs),
38
39 Preregister(PreregisterArgs),
41
42 Cite(CiteArgs),
44
45 Export(ExportArgs),
47
48 Deposit(DepositArgs),
50
51 Bundle(BundleArgs),
53
54 Verify(VerifyArgs),
56}