|
14 | 14 | EnvPrefix = "dbgap"
|
15 | 15 | // Version should be set at compile time to `git describe --tags --abbrev=0`
|
16 | 16 | Version string
|
| 17 | + // BinaryName should be set on init in order to know what binary is using the flags library. |
| 18 | + BinaryName string |
17 | 19 |
|
18 | 20 | LocationName = "location"
|
19 | 21 | AccessionName = "accession"
|
@@ -50,10 +52,10 @@ var (
|
50 | 52 | EndpointMsg = "ADVANCED: Change the endpoint used to communicate with SDL API.\nEnvironment Variable: [$DBGAP_ENDPOINT]"
|
51 | 53 | AwsBatchMsg = "ADVANCED: Adjust the amount of accessions put in one request to the SDL API when using an AWS location.\nEnvironment Variable: [$DBGAP_AWS-BATCH]"
|
52 | 54 | GcpBatchMsg = "ADVANCED: Adjust the amount of accessions put in one request to the SDL API when using a GCP location.\nEnvironment Variable: [$DBGAP_GCP-BATCH]"
|
53 |
| - AwsProfileMsg = "The desired AWS credentials profile in ~/.aws/credentials to use for instances when files require the requester (you) to pay for accessing the file.\nEnvironment Variable: [$DBGAP_AWS-PROFILE]\nNOTE: This account will be charged all cost accrued by accessing these certain files through fusera." |
54 |
| - GcpProfileMsg = "The desired GCP credentials profile in ~/.aws/credentials to use for instances when files require the requester (you) to pay for accessing the file.\nEnvironment Variable: [$DBGAP_GCP-PROFILE]\nNOTE: This account will be charged all cost accrued by accessing these certain files through fusera. These credentials should be in the AWS supported format that Google provides in order to work with their AWS compatible API." |
55 |
| - SilentMsg = "Fusera prints nothing, most useful for using fusera in scripts." |
56 |
| - VerboseMsg = "Fusera prints everything, most useful for troubleshooting." |
| 55 | + AwsProfileMsg = "The desired AWS credentials profile in ~/.aws/credentials to use for instances when files require the requester (you) to pay for accessing the file.\nEnvironment Variable: [$DBGAP_AWS-PROFILE]\nNOTE: This account will be charged all cost accrued by accessing these certain files." |
| 56 | + GcpProfileMsg = "The desired GCP credentials profile in ~/.aws/credentials to use for instances when files require the requester (you) to pay for accessing the file.\nEnvironment Variable: [$DBGAP_GCP-PROFILE]\nNOTE: This account will be charged all cost accrued by accessing these certain files. These credentials should be in the AWS supported format that Google provides in order to work with their AWS compatible API." |
| 57 | + SilentMsg = "Prints nothing, most useful when running in scripts." |
| 58 | + VerboseMsg = "Prints everything, most useful for troubleshooting." |
57 | 59 | )
|
58 | 60 |
|
59 | 61 | // ResolveLocation attempts to resolve the location on GCP and AWS.
|
|
0 commit comments