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.
(Sample screenshot of terminal output)
Use cases:
- Running and monitoring step function execution directly from terminal or Jupyter notebook.
- In case of error, identifying the failed task and cause of error.
- Debugging by reading events log file and all the metadata about the failed task (for example input and output).
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>:<account_number>: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
Built Distribution
File details
Details for the file stail-0.2.2.tar.gz
.
File metadata
- Download URL: stail-0.2.2.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.7.3 Darwin/18.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cd2ffcf101ec8d531e4b708285f3ee54b767be73bdd43f27dc41f7b039ed09a |
|
MD5 | 5d4f9852ba150b6ba0e591c709d9e1d1 |
|
BLAKE2b-256 | a2cffec05742dda979ed70f546eccaa71ffd1cd2f6e06e24eb2694d1942e212a |
File details
Details for the file stail-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: stail-0.2.2-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.7.3 Darwin/18.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fdb74088f5ba8045a8f47338e39b97ae6aa018e09ed2fe743a38c04e26282d0 |
|
MD5 | de6d615b8a9bfc04a1a8f7a4bca3b1ff |
|
BLAKE2b-256 | 8e6b82d155f357acd51201745dc35c5592cfee3e56496675d19f8012f82a61e1 |