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

15 lines
345 B
Text
Raw Normal View History

2020-01-30 18:33:27 +00:00
from typing import *
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
...