From 62aa4593b6e5ad7b153343320ef44cfd85584741 Mon Sep 17 00:00:00 2001 From: Willem Wyndham Date: Thu, 28 Mar 2024 14:22:04 -0400 Subject: [PATCH] fix: docs --- cmd/soroban-cli/src/commands/data/ls.rs | 2 +- docs/soroban-cli-full-docs.md | 35 +++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/cmd/soroban-cli/src/commands/data/ls.rs b/cmd/soroban-cli/src/commands/data/ls.rs index c798c557b7..a45311cb29 100644 --- a/cmd/soroban-cli/src/commands/data/ls.rs +++ b/cmd/soroban-cli/src/commands/data/ls.rs @@ -1,7 +1,7 @@ use clap::command; -use crate::commands::config::data; use super::super::config::locator; +use crate::commands::config::data; #[derive(thiserror::Error, Debug)] pub enum Error { diff --git a/docs/soroban-cli-full-docs.md b/docs/soroban-cli-full-docs.md index efbf0c0bb4..137bc19b3c 100644 --- a/docs/soroban-cli-full-docs.md +++ b/docs/soroban-cli-full-docs.md @@ -70,6 +70,8 @@ This document contains the help content for the `soroban` command-line program. * [`soroban network start`↴](#soroban-network-start) * [`soroban network stop`↴](#soroban-network-stop) * [`soroban version`↴](#soroban-version) +* [`soroban data`↴](#soroban-data) +* [`soroban data ls`↴](#soroban-data-ls) ## `soroban` @@ -110,6 +112,7 @@ Full CLI reference: https://github.com/stellar/soroban-tools/tree/main/docs/soro * `lab` — Experiment with early features and expert tools * `network` — Start and configure networks * `version` — Print version information +* `data` — Access cached data ###### **Options:** @@ -1687,6 +1690,38 @@ Print version information +## `soroban data` + +Access cached data + +**Usage:** `soroban data ` + +###### **Subcommands:** + +* `ls` — List identities + + + +## `soroban data ls` + +List identities + +**Usage:** `soroban data ls [OPTIONS]` + +###### **Options:** + +* `--global` — Use global config + + Possible values: `true`, `false` + +* `--config-dir ` — Location of config directory, default is "." +* `-l`, `--long` + + Possible values: `true`, `false` + + + +