Skip to content

Commit

Permalink
Some update from the CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuDutSik committed Nov 12, 2024
1 parent eb67463 commit dcf2a5b
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 2 deletions.
97 changes: 97 additions & 0 deletions CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ This document contains the help content for the `linera` command-line program.
* [`linera net`](#linera-net)
* [`linera net up`](#linera-net-up)
* [`linera net helper`](#linera-net-helper)
* [`linera storage`](#linera-storage)
* [`linera storage delete_all`](#linera-storage-delete_all)
* [`linera storage delete_namespace`](#linera-storage-delete_namespace)
* [`linera storage check_existence`](#linera-storage-check_existence)
* [`linera storage check_absence`](#linera-storage-check_absence)
* [`linera storage initialize`](#linera-storage-initialize)
* [`linera storage list_namespaces`](#linera-storage-list_namespaces)

## `linera`

Expand Down Expand Up @@ -90,6 +97,7 @@ A Byzantine-fault tolerant sidechain with low-latency finality and high throughp
* `wallet` — Show the contents of the wallet
* `project` — Manage Linera projects
* `net` — Manage a local Linera Network
* `storage` — Operation on the storage

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

Expand Down Expand Up @@ -897,6 +905,95 @@ Print a bash helper script to make `linera net up` easier to use. The script is



## `linera storage`

Operation on the storage

**Usage:** `linera storage <COMMAND>`

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

* `delete_all` — Delete all the namespaces of the database
* `delete_namespace` — Delete a single namespace from the database
* `check_existence` — Check existence of a namespace in the database
* `check_absence` — Check absence of a namespace in the database
* `initialize` — Initialize a namespace in the database
* `list_namespaces` — List the namespaces of the database



## `linera storage delete_all`

Delete all the namespaces of the database

**Usage:** `linera storage delete_all --storage <STORAGE_CONFIG>`

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

* `--storage <STORAGE_CONFIG>` — Storage configuration for the blockchain history



## `linera storage delete_namespace`

Delete a single namespace from the database

**Usage:** `linera storage delete_namespace --storage <STORAGE_CONFIG>`

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

* `--storage <STORAGE_CONFIG>` — Storage configuration for the blockchain history



## `linera storage check_existence`

Check existence of a namespace in the database

**Usage:** `linera storage check_existence --storage <STORAGE_CONFIG>`

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

* `--storage <STORAGE_CONFIG>` — Storage configuration for the blockchain history



## `linera storage check_absence`

Check absence of a namespace in the database

**Usage:** `linera storage check_absence --storage <STORAGE_CONFIG>`

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

* `--storage <STORAGE_CONFIG>` — Storage configuration for the blockchain history



## `linera storage initialize`

Initialize a namespace in the database

**Usage:** `linera storage initialize --storage <STORAGE_CONFIG>`

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

* `--storage <STORAGE_CONFIG>` — Storage configuration for the blockchain history



## `linera storage list_namespaces`

List the namespaces of the database

**Usage:** `linera storage list_namespaces --storage <STORAGE_CONFIG>`

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

* `--storage <STORAGE_CONFIG>` — Storage configuration for the blockchain history



<hr/>

<small><i>
Expand Down
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion linera-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ tonic-web.workspace = true
tower.workspace = true
tower-http = { workspace = true, features = ["cors"] }
tracing.workspace = true
tracing-subscriber = { workspace = true, features = ["fmt"] }

[build-dependencies]
cfg_aliases.workspace = true
Expand Down

0 comments on commit dcf2a5b

Please sign in to comment.