1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Added alias for console-attached execution

This commit is contained in:
Krateng 2020-03-19 18:41:45 +01:00
parent eb82282e58
commit a4f13f6923
3 changed files with 4 additions and 2 deletions

View File

@ -5,7 +5,7 @@ author = {
"email":"maloja@krateng.dev",
"github": "krateng"
}
version = 2,3,4
version = 2,3,5
versionstr = ".".join(str(n) for n in version)
links = {
"pypi":"malojaserver",

View File

@ -189,7 +189,8 @@ def main(action,*args,**kwargs):
"debug":direct,
"backup":backuphere,
"update":update,
"fix":fixdb
"fix":fixdb,
"run":direct
}
if action in actions: actions[action](*args,**kwargs)
else: print("Valid commands: " + " ".join(a for a in actions))

View File

@ -91,6 +91,7 @@ countas Momo TWICE
countas AOA Black AOA
countas AOA White AOA
countas AOA Cream AOA
countas Seolhyun AOA
replaceartist Ace of Angels AOA
replacetitle 사뿐사뿐 (Like a Cat) Like a Cat
replacetitle Like A Cat (Japanese Version) Like a Cat (Japanese Version)

Can't render this file because it has a wrong number of fields in line 5.