Files
cheatsheet-tldr/tldr/cs-complete-dep
2025-08-09 00:20:24 +00:00

26 lines
872 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# cs complete-dep
> Search for libraries without doing it directly on the web.
> More information: <https://get-coursier.io/docs/cli-complete>.
- Print which artifacts are published under a specific Maven group identifier:
`cs complete-dep {{group_id}}`
- List published library versions under a specific Maven group identifier and an artifact one:
`cs complete-dep {{group_id}}:{{artifact_id}}`
- Print which artifacts are pubblished under a given Maven groupId searching in the ivy2local:
`cs complete-dep {{group_id}} --repository ivy2local`
- List published artifacts under a Maven group identifier searching in a specific repository and credentials:
`cs complete-dep {{group_id}}:{{artifact_id}} --repository {{repository_url}} --credentials {{user}}:{{password}}`