Skip to content

Commit f611345

Browse files
author
ljacobsson
committed
renaming command
1 parent e9f92d5 commit f611345

File tree

10 files changed

+5
-5
lines changed

10 files changed

+5
-5
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require("@mhlabs/aws-sdk-sso");
66
require("./src/commands/lambda");
77
require("./src/commands/dynamodb");
88
require("./src/commands/apigateway");
9-
require("./src/commands/application-monitor");
9+
require("./src/commands/stack");
1010

1111
program.version(package.version, "-v, --version", "output the current version");
1212
program.parse(process.argv);

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mhlabs/awscii-cli",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "Tool that renders ASCII-art graphs of AWS resource's metrics",
55
"main": "index.js",
66
"scripts": {

src/commands/application-monitor/index.js src/commands/stack/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ const spinner = new Spinner();
1414
spinner.setSpinnerString("⠁⠁⠉⠙⠚⠒⠂⠂⠒⠲⠴⠤⠄⠄⠤⠠⠠⠤⠦⠖⠒⠐⠐⠒⠓⠋⠉⠈⠈");
1515

1616
program
17-
.command("application-monitor")
18-
.alias("am")
17+
.command("stack")
18+
.alias("s")
1919
.option(
2020
"--resource-type [stackName]",
2121
"Name of the CloudFormation stack to monitor. Optional - defaults to UI selector."
@@ -112,7 +112,7 @@ program
112112
[
113113
`https://${AWS.config.region}.console.aws.amazon.com/lambda/home?region=${AWS.config.region}#/applications/${inputUtil.reverseObfuscatedName(stackName)}?tab=monitoring`,
114114
],
115-
`awscii am --resource-type ${resourceType} --names ${resourceNames.map(p=>inputUtil.reverseObfuscatedName(p)).join(
115+
`awscii stack --resource-type ${resourceType} --names ${resourceNames.map(p=>inputUtil.reverseObfuscatedName(p)).join(
116116
","
117117
)} --graph-types "#graphtypes#" --profile ${cmd.profile}`
118118
);

0 commit comments

Comments
 (0)