Signed-off-by: fbugarski <filipbugarski@gmail.com>
Agent CLI
This repository contains the command-line interface (CLI) tool for interacting with the UltraVioletrs Agent service. The CLI allows you to perform various tasks such as running computations, uploading algorithms and datasets, and retrieving results.
Build
From the project root:
make agent-cli
Usage
Run Computation
To run a computation, use the following command:
./build/agent-cli run --computation '{"name": "my-computation"}'
Upload Algorithm
To upload an algorithm, use the following command:
./build/agent-cli algo /path/to/algorithm
Upload Dataset
To upload a dataset, use the following command:
./build/agent-cli data /path/to/dataset.csv
Retrieve result
To retrieve the computation result, use the following command:
./build/agent-cli result
Installtion
If you want to install the CLI globally, you can use the following command:
sudo cp build/agent-cli /usr/local/bin/
This will make the agent-cli executable available from any location in your terminal.
Run Computation
To run a computation, use the following command:
agent-cli run --computation '{"name": "my-computation"}'
Upload Algorithm
To upload an algorithm, use the following command:
agent-cli algorithm /path/to/algorithm
Upload Dataset
To upload a dataset, use the following command:
agent-cli dataset /path/to/dataset.csv
Retrieve result
To retrieve the computation result, use the following command:
agent-cli result