21 lines
387 B
Python
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")
|