From 0eb8cb76888fef0ee10b106a2f818a076ad397a1 Mon Sep 17 00:00:00 2001 From: Akira Hayashi Date: Wed, 5 Jun 2024 04:02:33 +0900 Subject: [PATCH] Map `-T` for `--target-account` --- readme.md | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 1228dde..fae5467 100644 --- a/readme.md +++ b/readme.md @@ -38,7 +38,7 @@ $ aws-cost --help -r, --region [region] AWS region (default: us-east-1) -a, --role-arn [arn] AWS role ARN to assume - --target-account [id] Account ID to see cost + -T, --target-account [id] Account ID to see cost -p, --profile [profile] AWS profile to use (default: "default") -j, --json Get the output as JSON diff --git a/src/index.ts b/src/index.ts index d19e1ee..4032c74 100644 --- a/src/index.ts +++ b/src/index.ts @@ -25,7 +25,7 @@ program .option('-t, --session-Token [key]', 'AWS session Token') .option('-r, --region [region]', 'AWS region', 'us-east-1') .option('-a, --role-arn [arn]', 'ARN of IAM role') - .option('--target-account [id]', 'Account ID to see cost') + .option('-T, --target-account [id]', 'Account ID to see cost') // Output variants .option('-j, --json', 'Get the output as JSON') .option('-u, --summary', 'Get only the summary without service breakdown')