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

16 lines
361 B
Text
Raw Normal View History

2020-01-30 18:33:27 +00:00
from typing import *
2019-11-29 19:05:10 +00:00
import royalnet
2020-01-30 18:33:27 +00:00
import royalnet.commands as rc
2019-11-29 19:05:10 +00:00
#set($CAPITALIZED_NAME = $NAME.substring(0,1).toUpperCase() + $NAME.substring(1))
2020-01-30 18:33:27 +00:00
class ${CAPITALIZED_NAME}Command(rc.Command):
2019-11-29 19:05:10 +00:00
name: str = "$NAME"
description: str = ""
syntax: str = ""
2020-01-30 18:33:27 +00:00
async def run(self, args: rc.CommandArgs, data: rc.CommandData) -> None:
2019-11-29 19:05:10 +00:00
...