Skip to content

UoY-RoboStar/ga-activate-fdr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

#!/usr/bin/expect -f
set license_type [lindex $argv 0]
set email [lindex $argv 1]
set name [lindex $argv 2]

spawn refines empty.csp
expect {
	-re {^Welcome to FDR [^\]]*\] } {
		send "$license_type\r"; exp_continue
	}
	-re {To obtain a free FDR[^:]*: } {
		send "$email\r"; exp_continue
	}
	"Please enter your name: " {
		send "$name\r"; exp_continue
	}
	-re {Requesting license .*$} {
		puts "DONE"; exp_continue
	}
	eof
}

About

GitHub Action to validate FDR license.

Topics

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages