Spaces:
Building
Building
File size: 335 Bytes
1e4a027 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
"""
CLI: python encrypt_token.py <PLAIN_TOKEN>
Çıktıyı service_config.jsonc içindeki cloud_token alanına yapıştır.
"""
import sys, os
from encryption_utils import encrypt
if len(sys.argv) < 2:
print("Usage: python encrypt_token.py <plain_token>")
sys.exit(1)
plain = sys.argv[1]
print(encrypt(plain))
|