they changed from username-password to token-based auth and they didn't mark it as a breaking change smh my head
11 lines
138 B
Plaintext
11 lines
138 B
Plaintext
#!/usr/bin/expect
|
|
|
|
set stafftoken "<staff_token>"
|
|
|
|
spawn ghost backup
|
|
|
|
expect "Ghost Staff access token"
|
|
send "$stafftoken\r"
|
|
|
|
expect eof
|