-
-
Notifications
You must be signed in to change notification settings - Fork 563
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(rust): update cli documentation for the
status
and reset
com…
…mands Signed-off-by: Wryhder <[email protected]>
- Loading branch information
Showing
6 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
implementations/rust/ockam/ockam_command/src/reset/static/after_long_help.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
```sh | ||
# Removes the local Ockam configuration including all Identities and Nodes. | ||
$ ockam reset | ||
|
||
# Removes orchestrator resources (i.e. Spaces and Projects) | ||
# in addition to deleting the local state. | ||
$ ockam reset --all | ||
|
||
# To confirm without prompting. | ||
$ ockam reset -y | ||
``` |
5 changes: 5 additions & 0 deletions
5
implementations/rust/ockam/ockam_command/src/reset/static/long_about.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
WARNING: | ||
|
||
The `reset` command is dangerous and should be used with caution as it will remove all local state PERMANENTLY. This behaviour can be useful for cleaning up your development environment and starting afresh from scratch. However, you'll typically want to use specific delete commands such as `node delete`, `identity delete`, and `space delete` for more granular control on deletes. | ||
|
||
Note that running `reset` will also sign you out of your Ockam account. You can sign in again and reactivate your machine with `ockam enroll`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
implementations/rust/ockam/ockam_command/src/status/static/after_long_help.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
```sh | ||
# Display information about your Ockam instance and your Orchestrator resources. | ||
$ ockam status | ||
``` |
5 changes: 5 additions & 0 deletions
5
implementations/rust/ockam/ockam_command/src/status/static/long_about.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
This command shows information such as the current version of Ockam in use, the Ockam Orchestrator and Project versions, as well as your Spaces and the users associated with them. | ||
|
||
It also lists any cryptographic Identities stored in your vault and their enrollment status with the Ockam Orchestrator. | ||
|
||
Additionally, it shows a quick overview of any available Nodes: their status, associated routes and protocols, listeners and services, and more. |