2.0.0 • Published 5 years ago
aws-ec2-profiles v2.0.0
aws-ec2-profiles
Usage
$ npm install -g aws-ec2-profiles
$ aws-ec2-profiles COMMAND
running command...
$ aws-ec2-profiles (-v|--version|version)
aws-ec2-profiles/2.0.0 win32-x64 node-v12.18.2
$ aws-ec2-profiles --help [COMMAND]
USAGE
$ aws-ec2-profiles COMMAND
...Commands
aws-ec2-profiles configureaws-ec2-profiles connectaws-ec2-profiles getaws-ec2-profiles helloaws-ec2-profiles help [COMMAND]aws-ec2-profiles list STATE
aws-ec2-profiles configure
Configure the CLI
USAGE
$ aws-ec2-profiles configure
DESCRIPTION
Set the pem directory location and AWS regionSee code: src\commands\configure.js
aws-ec2-profiles connect
Connect using SSH to an EC2 instance
USAGE
$ aws-ec2-profiles connect
OPTIONS
-i, --index=index Instance index
-n, --name=name Instance name
--ip=ip Instance IP
DESCRIPTION
Connect to an EC2 instance using either the instance index, name or IPSee code: src\commands\connect.js
aws-ec2-profiles get
Gather EC2 instance data
USAGE
$ aws-ec2-profiles get
DESCRIPTION
Loop through each EC2 associated with your account and save the connection details locally
Automatically runs the list command after to display the EC2 instance dataSee code: src\commands\get.js
aws-ec2-profiles hello
Describe the command here
USAGE
$ aws-ec2-profiles hello
OPTIONS
-n, --name=name name to print
DESCRIPTION
...
Extra documentation goes hereSee code: src\commands\hello.js
aws-ec2-profiles help [COMMAND]
display help for aws-ec2-profiles
USAGE
$ aws-ec2-profiles help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLISee code: @oclif/plugin-help
aws-ec2-profiles list STATE
Display saved EC2 instances
USAGE
$ aws-ec2-profiles list STATE
ARGUMENTS
STATE (all|pending|running|stopping|stopped|shutting-down) Display different EC2 instance states
DESCRIPTION
Displays the locally saved EC2 instances with sumamry
Make sure you run the get command firstSee code: src\commands\list.js
2.0.0
5 years ago