Skip to content

Commit

Permalink
renaming command
Browse files Browse the repository at this point in the history
  • Loading branch information
ljacobsson committed May 10, 2021
1 parent e9f92d5 commit f611345
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require("@mhlabs/aws-sdk-sso");
require("./src/commands/lambda");
require("./src/commands/dynamodb");
require("./src/commands/apigateway");
require("./src/commands/application-monitor");
require("./src/commands/stack");

program.version(package.version, "-v, --version", "output the current version");
program.parse(process.argv);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mhlabs/awscii-cli",
"version": "1.0.3",
"version": "1.0.4",
"description": "Tool that renders ASCII-art graphs of AWS resource's metrics",
"main": "index.js",
"scripts": {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ const spinner = new Spinner();
spinner.setSpinnerString("⠁⠁⠉⠙⠚⠒⠂⠂⠒⠲⠴⠤⠄⠄⠤⠠⠠⠤⠦⠖⠒⠐⠐⠒⠓⠋⠉⠈⠈");

program
.command("application-monitor")
.alias("am")
.command("stack")
.alias("s")
.option(
"--resource-type [stackName]",
"Name of the CloudFormation stack to monitor. Optional - defaults to UI selector."
Expand Down Expand Up @@ -112,7 +112,7 @@ program
[
`https://${AWS.config.region}.console.aws.amazon.com/lambda/home?region=${AWS.config.region}#/applications/${inputUtil.reverseObfuscatedName(stackName)}?tab=monitoring`,
],
`awscii am --resource-type ${resourceType} --names ${resourceNames.map(p=>inputUtil.reverseObfuscatedName(p)).join(
`awscii stack --resource-type ${resourceType} --names ${resourceNames.map(p=>inputUtil.reverseObfuscatedName(p)).join(
","
)} --graph-types "#graphtypes#" --profile ${cmd.profile}`
);
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f611345

Please sign in to comment.