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

  1. 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
    
  2. 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 ockam so that you can run it from the command line.

    cd implementations/rust/ockam/ockam_command && cargo install --path .
    

Re-exports§

Modules§

Structs§

Enums§

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.