add readme

This commit is contained in:
Lee 2024-09-21 05:42:26 +01:00
parent 1f5a1baf95
commit 7ecc2b5aa6
2 changed files with 19 additions and 12 deletions

7
README.md Normal file

@ -0,0 +1,7 @@
# Traefik Helper (for Kubernetes)
This is a helper for [Traefik](https://traefik.io/) on Kubernetes. It allows you to add and delete services from a simple cli.
## Todo
- [ ] Use the Traefik api to list all services

2
app.py

@ -13,8 +13,8 @@ class TraefikHelper(App):
version='0.1', version='0.1',
command_manager=CommandManager('commands'), command_manager=CommandManager('commands'),
deferred_help=False, deferred_help=False,
) )
def main(argv=sys.argv[1:]): def main(argv=sys.argv[1:]):
app = TraefikHelper() app = TraefikHelper()
app.command_manager.add_command('add', addService.AddService) app.command_manager.add_command('add', addService.AddService)