mirror of https://github.com/CrimsonTome/tldr.git
aws-codeartifact: improve page description and examples (#12264)
parent
717d240e7f
commit
077dab98a3
|
@ -1,25 +1,25 @@
|
||||||
# aws codeartifact
|
# aws codeartifact
|
||||||
|
|
||||||
> CLI for AWS CodeArtifact.
|
> Manage CodeArtifact repositories, domains, packages, package versions and assets.
|
||||||
> CodeArtifact allows you to store artifacts using popular package managers and build tools like Maven, Gradle, npm, Yarn, Twine, pip, NuGet, and SwiftPM.
|
> CodeArtifact is an artifact repository compatible with popular package managers and build tools like Maven, Gradle, npm, Yarn, Twine, pip, NuGet, and SwiftPM.
|
||||||
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/codeartifact/index.html>.
|
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/codeartifact/index.html>.
|
||||||
|
|
||||||
- List available domains for your AWS account:
|
- List available domains for your AWS account:
|
||||||
|
|
||||||
`aws codeartifact list-domains`
|
`aws codeartifact list-domains`
|
||||||
|
|
||||||
- Generate credentials for a specific package manager (e.g.: npm, pip):
|
- Generate credentials for a specific package manager:
|
||||||
|
|
||||||
`aws codeartifact login --tool {{package_manager}} --domain {{your_domain}} --repository {{repository_name}}`
|
`aws codeartifact login --tool {{npm|pip|twine}} --domain {{your_domain}} --repository {{repository_name}}`
|
||||||
|
|
||||||
- Get the endpoint URL of a CodeArtifact repository:
|
- Get the endpoint URL of a CodeArtifact repository:
|
||||||
|
|
||||||
`aws codeartifact get-repository-endpoint --domain {{your_domain}} --repository {{repository_name}} --format {{npm|pypi|maven|nuget|generic}}`
|
`aws codeartifact get-repository-endpoint --domain {{your_domain}} --repository {{repository_name}} --format {{npm|pypi|maven|nuget|generic}}`
|
||||||
|
|
||||||
- Show list of all available CodeArtifact commands:
|
- Display help:
|
||||||
|
|
||||||
`aws codeartifact help`
|
`aws codeartifact help`
|
||||||
|
|
||||||
- Display help for specific EC2 subcommand:
|
- Display help for a specific subcommand:
|
||||||
|
|
||||||
`aws ec2 {{subcommand}} help`
|
`aws codeartifact {{subcommand}} help`
|
||||||
|
|
Loading…
Reference in New Issue