3 # Install the supplied string (or a randomly generated token, if none
4 # is given) as an API token that authenticates to the system user
7 # Print the token on stdout.
9 require './lib/create_superuser_token'
10 include CreateSuperUserToken
12 supplied_token = ARGV[0]
14 token = CreateSuperUserToken.create_superuser_token supplied_token