wutta-hello/wutta_hello/commands.py
2023-11-24 17:53:39 -06:00

21 lines
387 B
Python

# -*- coding: utf-8; -*-
"""
wutta-hello - subcommand
"""
from wuttjamaican.cmd import Subcommand
class Hello(Subcommand):
"""
Say hello to the user
"""
name = 'hello'
description = __doc__.strip()
def run(self, args):
"""
Displays a hello message for the user to see.
"""
self.stdout.write(f"hello from {self.app.appname}\n")