Skip to content

Commit

Permalink
Remove deprecated lab token command that has been moved
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed May 1, 2024
1 parent ea25467 commit a8fcc60
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 46 deletions.
8 changes: 0 additions & 8 deletions cmd/soroban-cli/src/commands/lab/mod.rs
Original file line number Diff line number Diff line change
@@ -1,29 +1,21 @@
use clap::Subcommand;
use stellar_xdr::cli as xdr;

pub mod token;

#[derive(Debug, Subcommand)]
pub enum Cmd {
/// Wrap, create, and manage token contracts
Token(token::Root),

/// Decode xdr
Xdr(xdr::Root),
}

#[derive(thiserror::Error, Debug)]
pub enum Error {
#[error(transparent)]
Token(#[from] token::Error),
#[error(transparent)]
Xdr(#[from] xdr::Error),
}

impl Cmd {
pub async fn run(&self) -> Result<(), Error> {
match &self {
Cmd::Token(token) => token.run().await?,
Cmd::Xdr(xdr) => xdr.run()?,
}
Ok(())
Expand Down
38 changes: 0 additions & 38 deletions cmd/soroban-cli/src/commands/lab/token/mod.rs

This file was deleted.

0 comments on commit a8fcc60

Please sign in to comment.