CLI Tool to run and tail a step function synchronously.
Project description
Stail
CLI Tool to run and tail a step function synchronously and persist event logs for the state machine execution on disk.
Installation:
pip install stail
Usage
run
Starts a step function execution synchronously, tails the event history to the console and create a log file with all the events for the execution.
Log file is stored at stail_logs/[execution name (UUID)].log
stail run --arn [state machine arn] --input [input]
####Options: --arn State machine ARN --input Input JSON to the state machine
Example:
stail run --arn arn:aws:states:<region>:955883056721:stateMachine:<name> --input "{\"param\":\"hello\"}"
version
Displays the version.
stail version
Author: Iman Kamyabi
Feedback: contact@imankamyabi.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stail-0.1.8.tar.gz
(4.2 kB
view hashes)
Built Distribution
stail-0.1.8-py3-none-any.whl
(5.0 kB
view hashes)