Crate ockam_command
source ·Expand description
This crate provides the ockam command line application to:
- start Ockam nodes and interact with them
- manage projects and spaces hosted within the Ockam Orchestrator
For more information please visit the command guide
§Instructions on how to install Ockam Command
-
You can install Ockam Command pre-built binary using these steps. You can run the following command in your terminal to install the pre-built binary:
curl --proto '=https' --tlsv1.2 -sSfL https://install.command.ockam.io | bash -
To build Ockam Command from source, fork the repo, and then clone it to your machine. Open a terminal and go to the folder that you just cloned the repo into. Then run the following to install
ockamso that you can run it from the command line.cd implementations/rust/ockam/ockam_command && cargo install --path .
Re-exports§
Modules§
Structs§
- This struct contains the main structs used to implement commands:
- Those arguments are common to all commands
- Top-level command, with:
Enums§
- List of commands which can be executed with
ockam
Traits§
Functions§
- This function creates a journey event describing the error resulting from the execution of a command
- This function creates a journey event describing the execution of a command
- Return true if the list of arguments contains a help flag
- Return true if the list of arguments contains a version flag
- Replaces the ‘-’ placeholder character with a string value coming from stdin This is useful to be able to pipe the output of a command to another command.