Alaja.CLI.Commands.Action (Alaja v1.0.0)

Copy Markdown View Source

alaja action — Execute Alaja commands from JSON input.

Accepts JSON from stdin, a file, or inline data and dispatches commands to Alaja.CLI.main/1. Supports single actions and batch operations.

Examples

echo '{"command": "success", "args": ["Done!"]}' | alaja action
alaja action --file actions.json
alaja action --data '{"command": "info", "args": ["Processing..."]}'

Summary

Functions

Prints help for the alaja action command.

Runs the alaja action command.

Functions

help()

@spec help() :: :ok

Prints help for the alaja action command.

run(args)

@spec run([String.t()]) :: :ok | no_return()

Runs the alaja action command.