Quick start
This page takes you from installation to a successful operation. No account or API token is needed for the example.
Install Picoo
Section titled “Install Picoo”You need Rust and Cargo for the current installation method.
cargo install --git https://github.com/picoo-dev/picoo.git --lockedCheck the installation:
picoo --helppicoo doctorFind an operation
Section titled “Find an operation”Describe the result you want:
picoo search "say hello to a person"The result shows an operation ID and its inputs. For this example, use
picoo/demo/hello.
Run the operation
Section titled “Run the operation”picoo run picoo/demo/hello --input name=NahidYou should receive a result like this:
{ "result": { "greeting": "Hello, Nahid!" }}If the operation is not installed, Picoo fetches it from the configured Picoo Registry. Later runs use the installed copy.
Run a fixed version
Section titled “Run a fixed version”Pin a version when the same input must use the same operation release:
picoo run picoo/demo/hello --version 0.1.0 --input name=NahidAdd --offline after installation to prevent Registry access:
picoo run picoo/demo/hello --offline --version 0.1.0 --input name=NahidYou have now:
- Installed Picoo.
- Checked the required runtimes.
- Found an operation by describing a task.
- Run a versioned operation with typed input.
Next, create your first operation.