MeowNex/cc/sc-encode
swee cdfd6b9d7b
Some checks failed
Check syntax / check (push) Has been cancelled
Update cc/sc-encode
2024-12-24 16:10:16 -08:00

7 lines
No EOL
197 B
Python

#!/usr/bin/python3
import sweecrypt
from sys import argv
if argv[3][:2] == "-s":
print(sweecrypt.encrypt(" ".join(argv[4:]), argv[3][3:]))
else:
print(sweecrypt.encrypt(" ".join(argv[3:])))