Skip to content

jedipunkz/miniecs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

miniecs

miniecs is a CLI tool that allows you to fuzzy finder incremental search your ecs envs and login to your container. And you can execute any commands on your container.

Go-CI CodeQL

Requirement

Installation

Homebrew

brew tap jedipunkz/miniecs
brew install jedipunkz/miniecs/miniecs

Go Install

go install github.com/jedipunkz/miniecs@latest

Usage

Login Sub-Command

A sub-command to login ecs container with incremental searching.

Run 'login' sub-command to login to container. If you don't specify cluster, miniecs find all of your clusters in region. 'region' option is requred.

$ miniecs login --region <REGION_NAME>

You can also specify a cluster and shell. These options are optional. Default shell is 'sh'.

$ miniecs login --region <REGION_NAME> --cluster <CLUSTER_NAME> --shell <SHELL>

Execute Sub-Command

A sub-command to execute command in container.

$ miniecs exec \
    --region    <REGION_NAME> \
    --cluster   <CLUSTER_NAME> \
    --service   <SERVICE_NAME> \
    --container <CONTAINER_NAME> \
    --command   <SHELL_COMMAND>

List Sub-Command

A sub-command to get table information of ecs cluster(s), service(s) and container(s).

$ miniecs list --region <REGION_NAME>

License

Apache License 2.0

Author

jedipunkz

About

miniecs is a CLI tool that allows you to incremental search your ecs envs and login to your container

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages