Skip to main content
Version: LOC v0.7 (legacy)

Agent Configuration

CLI commands for managing agent configurations (HTTP, database, file storage and mail).

loc agent-configuration|agent

Agent Configurations

loc agent http

loc agent database|db

loc agent file-storage|fs

loc agent mail

Generate a Configuration Template

loc agent http|db|fs|mail init [output]

CLI will prompt a series of question for generating the configuration template.

  • output: output file path and name (JSON or YAML)

Deploy a Configuration

loc agent http|db|fs|mail deploy -f <agent-config>.yaml
  • -f: agent configuration file (required; JSON or YAML)

The ID and name of deployed configurations can be added to a project's config.yaml so that they can be accessed by agents in its logic.

List All Configurations

loc agent http|db|fs|mail list

Inspect a Configuration

loc agent http|db|fs|mail get <id> -v

Delete a Configuration

loc agent http|db|fs|mail delete <id>