Skip to content

🐛 [Bug]: Storyblok CLI v4 does not support option --resolve-datasources anymore #190

@frtelg

Description

@frtelg

Package

storyblok (CLI)

Bug Description

We used to pull storyblok components like this, so they can be generated as TS types:
storyblok pull-components --space 12345 --resolve-datasources

However, if I use the new major version of the Storyblok CLI (v4), this options seems to be gone. Is there an alternative, and if not, could an alternative option be added?

Steps to Reproduce

storyblok component pull --space 12345 --resolve-datasources

Expected Behavior

Option is supported

Actual Behavior

Throws an error mentioning option --resolve-datasources is unknown

Code Sample

Environment

System:
    OS: macOS 15.5
    CPU: (12) arm64 Apple M3 Pro
    Memory: 87.89 MB / 18.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.15.0 - ~/.nvm/versions/node/v22.15.0/bin/node
    npm: 10.9.2 - ~/.nvm/versions/node/v22.15.0/bin/npm
  Browsers:
    Brave Browser: 138.1.80.115
    Chrome: 138.0.7204.93
    Safari: 18.5
  npmPackages:
    storyblok: ^4.0.0 => 4.0.0

Error Logs

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliCLI related features and issueswontfix[Status] This will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions