MeowNex/cc/sc-encode
swee a1ee0b6cdf
All checks were successful
Check syntax / check (push) Successful in 8s
Update cc/sc-encode
2024-12-24 16:10:24 -08:00

7 lines
No EOL
202 B
Python

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