Document and align the env var for OAuth token

This commit is contained in:
AlanCoding
2020-04-07 10:00:02 -04:00
parent d40143a63d
commit b90a296d41
29 changed files with 33 additions and 6 deletions

View File

@@ -102,7 +102,7 @@ class Login(CustomCommand):
else:
fmt = client.get_config('format')
if fmt == 'human':
print('export TOWER_TOKEN={}'.format(token))
print('export TOWER_OAUTH_TOKEN={}'.format(token))
else:
print(to_str(FORMATTERS[fmt]({'token': token}, '.')).strip())