Skip to content

Allow to provide argument to delete the theme and update readme file for Theme acess token #100

Open
codal-nilayp wants to merge 2 commits intoShopify:mainfrom
codal-nilayp:update-params-and-readme
Open

Allow to provide argument to delete the theme and update readme file for Theme acess token #100
codal-nilayp wants to merge 2 commits intoShopify:mainfrom
codal-nilayp:update-params-and-readme

Conversation

@codal-nilayp
Copy link

This PR covers two main updates:

1. README update for theme access tokens
Updated the README to reflect the current Shopify flow. Since creating new legacy custom apps is no longer supported, the documentation now explains how to generate an access token using the Theme Access app instead.

2. Optional theme cleanup after report generation
Added a new configuration parameter, delete_theme_after_result, to optionally delete the theme created during the process.

  • By default, a new theme is created and retained.
  • If delete_theme_after_result is set to 1, the theme will be automatically deleted after the report is generated.

This helps prevent hitting Shopify’s 100-theme limit.

@4www
Copy link

4www commented Feb 4, 2026

fixes #99

Thanks!

@codal-nilayp
Copy link
Author

@charlespwd ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants