1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
royalnet/pycharm_templates/command.vm

15 lines
361 B
Text

from typing import *
import royalnet
import royalnet.commands as rc
#set($CAPITALIZED_NAME = $NAME.substring(0,1).toUpperCase() + $NAME.substring(1))
class ${CAPITALIZED_NAME}Command(rc.Command):
name: str = "$NAME"
description: str = ""
syntax: str = ""
async def run(self, args: rc.CommandArgs, data: rc.CommandData) -> None:
...