---
title: "Simplify your automations with the new show all flag"
description: "We’ve added the --show-all flag to the Cloudsmith CLI, which simplifies your automation scripts by eliminating the need for pagination logic."
canonical_url: "https://cloudsmith.com/changelog/simplify-your-automations-with-the-new-show-all-flag"
last_updated: "2025-11-18T19:25:39.697Z"
---
# Simplify your automations with the new show all flag

We’ve added the `--show-all` flag to the Cloudsmith CLI, which simplifies your automation scripts by eliminating the need for pagination logic. Previously, fetching large datasets required looping to iterate through `page` and `--page-size`. Now, the CLI automatically handles the underlying pagination, fetching every requested item and returning the full list instantly. This lets you simplify your scripts and maintain less code.

## Applicable commands

You can pass the `--show-all` flag to the following commands that support pagination:

- License
- Vulnerability
- List packages
- List repos
- List upstreams

```json
{
  "_key": "fe064d57aad5",
  "_type": "image",
  "alt": "Passing the --show-all flag ",
  "asset": {
    "_createdAt": "2025-11-18T17:56:35Z",
    "_id": "image-c8bbc6174f80dbeb68e685f344f9eec1f89aa1bd-2276x562-gif",
    "_rev": "ZDV7bFWLDVjAnbOyziC7rj",
    "_type": "sanity.imageAsset",
    "_updatedAt": "2025-11-18T17:56:35Z",
    "assetId": "c8bbc6174f80dbeb68e685f344f9eec1f89aa1bd",
    "extension": "gif",
    "metadata": {
      "_type": "sanity.imageMetadata",
      "blurHash": "D02=$Et8t7ozofxut7t7ofof",
      "dimensions": {
        "_type": "sanity.imageDimensions",
        "aspectRatio": 4.049822064056939,
        "height": 562,
        "width": 2276
      },
      "hasAlpha": true,
      "isOpaque": true,
      "lqip": "data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAAFABQDASIAAhEBAxEB/8QAFwABAAMAAAAAAAAAAAAAAAAAAAECCP/EABgQAQADAQAAAAAAAAAAAAAAAAABAhEx/8QAFAEBAAAAAAAAAAAAAAAAAAAAAP/EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhEDEQA/AM7W2ezqoAkAH//Z",
      "palette": {
        "_type": "sanity.imagePalette",
        "darkMuted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#445454",
          "foreground": "#fff",
          "population": 0.01,
          "title": "#fff"
        },
        "darkVibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#041010",
          "foreground": "#fff",
          "population": 0.03,
          "title": "#fff"
        },
        "dominant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#041010",
          "foreground": "#fff",
          "population": 0.03,
          "title": "#fff"
        },
        "lightMuted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#1e7a7a",
          "foreground": "#fff",
          "population": 0,
          "title": "#fff"
        },
        "lightVibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#94e4e4",
          "foreground": "#000",
          "population": 0,
          "title": "#000"
        },
        "muted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#64676a",
          "foreground": "#fff",
          "population": 0.03,
          "title": "#fff"
        },
        "vibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#32cbcc",
          "foreground": "#000",
          "population": 0,
          "title": "#fff"
        }
      }
    },
    "mimeType": "image/gif",
    "originalFilename": "Nov-05-2025 21-31-39.gif",
    "path": "images/rafvlnhi/production/c8bbc6174f80dbeb68e685f344f9eec1f89aa1bd-2276x562.gif",
    "sha1hash": "c8bbc6174f80dbeb68e685f344f9eec1f89aa1bd",
    "size": 5345972,
    "uploadId": "cnP19yrpLGnlraauTaDigAiyjsIXn5S4",
    "url": "https://cdn.sanity.io/images/rafvlnhi/production/c8bbc6174f80dbeb68e685f344f9eec1f89aa1bd-2276x562.gif"
  },
  "link": {
    "_type": "link",
    "href": null,
    "openInNewTab": false
  },
  "markDefs": null
}
```

```json
{
  "_key": "6abfb8c89216",
  "_type": "code",
  "code": "# List All Packages\ncloudsmith list packages <ORG-NAME>/<REPO-NAME> --show-all\n\n# List All Upstreams\ncloudsmith upstream <FORMAT> list <ORG-NAME>/<REPO-NAME> --show-all\n\n# List All License Policies\ncloudsmith policy license list <ORG-NAME> --show-all\n\n# List All Vulnerability Policies\ncloudsmith policy vulnerability list <ORG-NAME> --show-all",
  "filename": null,
  "language": "shell",
  "markDefs": null
}
```

The `--show-all` flag is available in v.1.9.3 of the [Cloudsmith CLI](https://docs.cloudsmith.com/developer-tools/cli).
