Skip to content

Exenifix/ExenDLR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExenDLR

Exenifix's Docker Logs Reader

Description

Module for reading docker logs for GitHub actions. Includes CLI and program tools.

Usage

CLI

$ python3 -m exendlr <container-name> <stop-phrase>

# example
$ python3 -m exendlr my-nice-bot "bot is ready!"

Code

from exendlr import Reader

reader = Reader("my-nice-bot", "bot is ready!")
code = reader.start()

if code == 0:
    print("Bot was started successfully!")
elif code == 1:
    print("There was an error running the bot!")

About

Module for reading docker logs for GitHub actions. Includes CLI and program tools.

Topics

Resources

License

Stars

Watchers

Forks

Languages