Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

zdharma-continuum/zinit-package-ecs-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Deprecated

❗ All zinit-packages have been migrated to https://github.com/zdharma-continuum/zinit-packages You'll find the source for this here package in https://github.com/zdharma-continuum/zinit-packages/tree/HEAD/ecs-cli

aws/amazon-ecs-cli as a Zsh package

Homepage link: aws/amazon-ecs-cli
Package source: Source Tarball Binary Git Node Gem
Status: - +
(default)
-

Zplugin can use the NPM package registry to automatically:

  • get the plugin's Git repository OR release-package URL,
  • get the list of the recommended ices for the plugin,
    • there can be multiple lists of ices,
    • the ice lists are stored in profiles; there's at least one profile, default,
    • the ices can be selectively overriden.

Example invocations that'll install aws/amazon-ecs-cli:

# Download the binary of amazon-ecs-cli command
zplugin pack for ecs-cli

# Download the ecs-cli binary with use of the bin-gem-node annex
zplugin pack"bgn" for ecs-cli

Default Profile

Provides the CLI command ecs-cli by coping it to $ZPFX/bin.

The Zplugin command executed will be equivalent to:

zplugin as=null id-as="ecs-cli" mv="*latest -> ecs-cli" \
    atclone='chmod +x *; cp -vf ecs-cli $ZPFX/bin' \
    atpull="%atclone" sbin="ecs-cli" is-snippet for \
        https://amazon-ecs-cli.s3.amazonaws.com/ecs-cli-${(M)OSTYPE#(linux|darwin)}-amd64-latest

bin-gem-node Profile

Provides the CLI command ecs-cli by creating a forwarder script (a shim) in $ZPFX/bin by using the bin-gem-node annex. It's the best method of providing the binary to the command line.

The Zplugin command executed will be equivalent to:

zplugin as=null id-as="ecs-cli" mv="*latest -> ecs-cli" \
    atclone="chmod +x *"  atpull="%atclone" sbin="ecs-cli"
    is-snippet for \
        https://amazon-ecs-cli.s3.amazonaws.com/ecs-cli-${(M)OSTYPE#(linux|darwin)}-amd64-latest

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published