Update cheatsheets

This commit is contained in:
ivuorinen
2024-04-19 00:13:37 +00:00
parent 7de5092ed1
commit 48aff03a74
104 changed files with 150 additions and 146 deletions

View File

@@ -10,28 +10,28 @@ source: https://github.com/tldr-pages/tldr.git
- Display the `AndroidManifest.xml` of the base module:
`bundletool dump manifest --bundle={{path/to/bundle.aab}}`
`bundletool dump manifest --bundle {{path/to/bundle.aab}}`
- Display a specific value from the `AndroidManifest.xml` using XPath:
`bundletool dump manifest --bundle={{path/to/bundle.aab}} --xpath={{/manifest/@android:versionCode}}`
`bundletool dump manifest --bundle {{path/to/bundle.aab}} --xpath {{/manifest/@android:versionCode}}`
- Display the `AndroidManifest.xml` of a specific module:
`bundletool dump manifest --bundle={{path/to/bundle.aab}} --module={{name}}`
`bundletool dump manifest --bundle {{path/to/bundle.aab}} --module {{name}}`
- Display all the resources in the application bundle:
`bundletool dump resources --bundle={{path/to/bundle.aab}}`
`bundletool dump resources --bundle {{path/to/bundle.aab}}`
- Display the configuration for a specific resource:
`bundletool dump resources --bundle={{path/to/bundle.aab}} --resource={{type/name}}`
`bundletool dump resources --bundle {{path/to/bundle.aab}} --resource {{type/name}}`
- Display the configuration and values for a specific resource using the ID:
`bundletool dump resources --bundle={{path/to/bundle.aab}} --resource={{0x7f0e013a}} --values`
`bundletool dump resources --bundle {{path/to/bundle.aab}} --resource {{0x7f0e013a}} --values`
- Display the contents of the bundle configuration file:
`bundletool dump config --bundle={{path/to/bundle.aab}}`
`bundletool dump config --bundle {{path/to/bundle.aab}}`