From 49523f9e917d16017d2207a302110ceaeb68b8e9 Mon Sep 17 00:00:00 2001 From: Jason Boxman Date: Tue, 15 Aug 2023 10:25:55 -0400 Subject: [PATCH] Clarify ways to specify an access token A user should do one of these, but not both of them. Use a list instead of an enumeration. --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 50b6e591..939a0f47 100644 --- a/README.md +++ b/README.md @@ -51,15 +51,17 @@ Create a Tower access token using the [Tower](https://tower.nf/) web interface v Providing `tw` access to Tower with your access token can be achieved in several ways: -1. Export it directly into your terminal: +- By setting an environment variable: - ```bash - export TOWER_ACCESS_TOKEN= - ``` + 1. Export it directly into your terminal: + + ```bash + export TOWER_ACCESS_TOKEN= + ``` -2. Add the above `export` command to a file such as `.bashrc` to be automatically added into your environment. + 2. Add the above `export` command to a file such as `.bashrc` to be automatically added into your environment. -3. Specify your token as a parameter when running `tw`: +- By specifying the `--access-token` parameter: ```bash tw --access-token=