dioggy

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2022 License: GPL-3.0 Imports: 17 Imported by: 0

README

dioggy

This is a simple program that automatically pulls a project from GitHub, runs it, restarts it if it exits and updates it if updates are pushed to the repo.

Initially created for the if-schleife-bot, runs it by default.

Too lazy to write docs, if you have questions, just open an issue.

Usage

./dioggy

Configuration

Command-line arguments
  • -enable-discord-notifications: sends a Discord message when the application is started/updated
Environmental variables
  • GITHUB_CLONE: which GitHub repo to use, user/repo format
  • PREPARE_COMMAND: command to run after cloning/pulling
  • EXEC_COMMAND: command to run
  • DISCORD_WEBHOOK_URL: where to send Discord messages (optional)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL