From 88b942a823857307ce1d83eebaef35d5aa4830f1 Mon Sep 17 00:00:00 2001 From: dzmitry-lahoda Date: Thu, 21 Mar 2024 17:02:32 +0000 Subject: [PATCH] Update args.rs --- mantis/node/src/mantis/args.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/mantis/node/src/mantis/args.rs b/mantis/node/src/mantis/args.rs index b1f32812..50fb4129 100644 --- a/mantis/node/src/mantis/args.rs +++ b/mantis/node/src/mantis/args.rs @@ -12,8 +12,25 @@ pub enum MantisCommands { Solve(SolverArgs), Id(IdArgs), Simulate(SimulateArgs), + Glt(GltArgs), } +#[derive(Debug, Subcommand)] +pub struct GltArgs { + #[command(subcommand)] + pub command: GltCommands, +} + +GltComands + // given offchain configuration, validates is + Validate + // given offchain configuration and existing chains, plans apply + // outputs offline transaction to chains provided + Plan + /// adds specific things to offchain config + Add + + #[derive(Debug, Parser)] pub struct IdArgs { #[command(subcommand)]