Skip to content

Commit

Permalink
Merge branch 'main' into feat/data_logging
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored May 2, 2024
2 parents c745de7 + 5d6bb0e commit eecf3e3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 197 deletions.
23 changes: 0 additions & 23 deletions cmd/soroban-cli/src/commands/lab/mod.rs

This file was deleted.

7 changes: 0 additions & 7 deletions cmd/soroban-cli/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ pub mod contract;
pub mod events;
pub mod global;
pub mod keys;
pub mod lab;
pub mod network;
pub mod plugin;
pub mod version;
Expand Down Expand Up @@ -96,7 +95,6 @@ impl Root {
Cmd::Completion(completion) => completion.run(),
Cmd::Contract(contract) => contract.run(&self.global_args).await?,
Cmd::Events(events) => events.run().await?,
Cmd::Lab(lab) => lab.run()?,
Cmd::Xdr(xdr) => xdr.run()?,
Cmd::Network(network) => network.run().await?,
Cmd::Version(version) => version.run(),
Expand Down Expand Up @@ -128,9 +126,6 @@ pub enum Cmd {
/// Create and manage identities including keys and addresses
#[command(subcommand)]
Keys(keys::Cmd),
/// Experiment with early features and expert tools
#[command(subcommand)]
Lab(lab::Cmd),
/// Decode and encode XDR
Xdr(stellar_xdr::cli::Root),
/// Start and configure networks
Expand All @@ -153,8 +148,6 @@ pub enum Error {
#[error(transparent)]
Keys(#[from] keys::Error),
#[error(transparent)]
Lab(#[from] lab::Error),
#[error(transparent)]
Xdr(#[from] stellar_xdr::cli::Error),
#[error(transparent)]
Clap(#[from] clap::error::Error),
Expand Down
167 changes: 0 additions & 167 deletions docs/soroban-cli-full-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@ This document contains the help content for the `soroban` command-line program.
* [`soroban keys ls`](#soroban-keys-ls)
* [`soroban keys rm`](#soroban-keys-rm)
* [`soroban keys show`](#soroban-keys-show)
* [`soroban lab`](#soroban-lab)
* [`soroban lab xdr`](#soroban-lab-xdr)
* [`soroban lab xdr types`](#soroban-lab-xdr-types)
* [`soroban lab xdr types list`](#soroban-lab-xdr-types-list)
* [`soroban lab xdr guess`](#soroban-lab-xdr-guess)
* [`soroban lab xdr decode`](#soroban-lab-xdr-decode)
* [`soroban lab xdr encode`](#soroban-lab-xdr-encode)
* [`soroban lab xdr version`](#soroban-lab-xdr-version)
* [`soroban xdr`](#soroban-xdr)
* [`soroban xdr types`](#soroban-xdr-types)
* [`soroban xdr types list`](#soroban-xdr-types-list)
Expand Down Expand Up @@ -100,7 +92,6 @@ Full CLI reference: https://github.com/stellar/soroban-tools/tree/main/docs/soro
* `contract` — Tools for smart contract developers
* `events` — Watch the network for contract events
* `keys` — Create and manage identities including keys and addresses
* `lab` — Experiment with early features and expert tools
* `xdr` — Decode and encode XDR
* `network` — Start and configure networks
* `version` — Print version information
Expand Down Expand Up @@ -992,164 +983,6 @@ Given an identity return its private key



## `soroban lab`

Experiment with early features and expert tools

**Usage:** `soroban lab <COMMAND>`

###### **Subcommands:**

* `xdr` — Decode xdr



## `soroban lab xdr`

Decode xdr

**Usage:** `soroban lab xdr [CHANNEL] <COMMAND>`

###### **Subcommands:**

* `types` — View information about types
* `guess` — Guess the XDR type
* `decode` — Decode XDR
* `encode` — Encode XDR
* `version` — Print version information

###### **Arguments:**

* `<CHANNEL>` — Channel of XDR to operate on

Default value: `+curr`

Possible values: `+curr`, `+next`




## `soroban lab xdr types`

View information about types

**Usage:** `soroban lab xdr types <COMMAND>`

###### **Subcommands:**

* `list`



## `soroban lab xdr types list`

**Usage:** `soroban lab xdr types list [OPTIONS]`

###### **Options:**

* `--output <OUTPUT>`

Default value: `plain`

Possible values: `plain`, `json`, `json-formatted`




## `soroban lab xdr guess`

Guess the XDR type

**Usage:** `soroban lab xdr guess [OPTIONS] [FILE]`

###### **Arguments:**

* `<FILE>` — File to decode, or stdin if omitted

###### **Options:**

* `--input <INPUT>`

Default value: `single-base64`

Possible values: `single`, `single-base64`, `stream`, `stream-base64`, `stream-framed`

* `--output <OUTPUT>`

Default value: `list`

Possible values: `list`

* `--certainty <CERTAINTY>` — Certainty as an arbitrary value

Default value: `2`



## `soroban lab xdr decode`

Decode XDR

**Usage:** `soroban lab xdr decode [OPTIONS] --type <TYPE> [FILES]...`

###### **Arguments:**

* `<FILES>` — Files to decode, or stdin if omitted

###### **Options:**

* `--type <TYPE>` — XDR type to decode
* `--input <INPUT>`

Default value: `stream-base64`

Possible values: `single`, `single-base64`, `stream`, `stream-base64`, `stream-framed`

* `--output <OUTPUT>`

Default value: `json`

Possible values: `json`, `json-formatted`, `rust-debug`, `rust-debug-formatted`




## `soroban lab xdr encode`

Encode XDR

**Usage:** `soroban lab xdr encode [OPTIONS] --type <TYPE> [FILES]...`

###### **Arguments:**

* `<FILES>` — Files to encode, or stdin if omitted

###### **Options:**

* `--type <TYPE>` — XDR type to encode
* `--input <INPUT>`

Default value: `json`

Possible values: `json`

* `--output <OUTPUT>`

Default value: `single-base64`

Possible values: `single`, `single-base64`




## `soroban lab xdr version`

Print version information

**Usage:** `soroban lab xdr version`



## `soroban xdr`

Decode and encode XDR
Expand Down

0 comments on commit eecf3e3

Please sign in to comment.