Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

33
cs-resolve Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# cs resolve
> Resolve lists the transitive dependencies of other dependencies.
> More information: <https://get-coursier.io/docs/cli-resolve>.
- Resolve lists of transitive dependencies of two dependencies:
`cs resolve {{group_id1}}:{{artifact_id1}}:{{artifact_version1}} {{group_id2}}:{{artifact_id2}}:{{artifact_version2}}`
- Resolve lists of transitive dependencies of a package by the dependency tree:
`cs resolve --tree {{group_id}}:{{artifact_id}}:{{artifact_version}}`
- Resolve dependency tree in a reverse order (from a dependency to its dependencies):
`cs resolve --reverse-tree {{group_id}}:{{artifact_id}}:{{artifact_version}`
- Print all the libraries that depends on a specific library:
`cs resolve {{group_id}}:{{artifact_id}}:{{artifact_version}} --what-depends-on {{searched_group_id}}:{{searched_artifact_id}}`
- Print all the libraries that depends on a specific library version:
`cs resolve {{group_id}}:{{artifact_id}}:{{artifact_version}} --what-depends-on {{searched_group_id}}:{{searched_artifact_id}}{{searched_artifact_version}}`
- Print eventual conflicts between a set of packages:
`cs resolve --conflicts {{group_id1:artifact_id1:artifact_version1 group_id2:artifact_id2:artifact_version2 ...}}`