Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add messaging Theme Kit Access messaging and flag to suppress it #939

Merged
merged 1 commit into from
Jun 23, 2021

Conversation

karenxie
Copy link
Contributor

@karenxie karenxie commented Jun 10, 2021

The Theme Kit Access app is in beta now. When we move to GA, we want to encourage developers to make the switch by adding messaging to the Theme Kit CLI. This PR adds that message and a flag to be able to suppress it.

Part of https://github.com/Shopify/themekit-access/issues/147

Warn Checklist

  • This changes the interface and requires a Major/Minor version change.
  • I have 🎩'd these changes by using the commands I changed by hand.
  • I have added a dependancy to the project.
  • I have considered any potential impact on node-themekit

@karenxie karenxie requested review from tanema and d-koval June 10, 2021 13:54
@karenxie karenxie force-pushed the add-themekit-access-messaging branch from 89d7ea0 to d8140d1 Compare June 11, 2021 15:34
Copy link
Contributor

@d-koval d-koval left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@karenxie karenxie merged commit 1954bdd into master Jun 23, 2021
@karenxie karenxie deleted the add-themekit-access-messaging branch June 23, 2021 17:55
@@ -89,6 +102,7 @@ func init() {
ThemeCmd.PersistentFlags().StringArrayVar(&flags.Ignores, "ignores", []string{}, "A path to a file that contains ignore patterns.")
ThemeCmd.PersistentFlags().BoolVar(&flags.DisableIgnore, "no-ignore", false, "Will disable config ignores so that all files can be changed")
ThemeCmd.PersistentFlags().BoolVar(&flags.AllowLive, "allow-live", false, "Will allow themekit to make changes to the live theme on the store.")
ThemeCmd.PersistentFlags().BoolVarP(&flags.DisableThemeKitAccessNotifier, "no-theme-kit-access-notifier", "", false, "Stop theme kit from notifying about Theme Kit Access.")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the point of using BoolVarP with an empty string instead of BoolVar?

@eloyesp
Copy link

eloyesp commented Jul 20, 2021

Hi, it seems that this flag is not documented on https://shopify.dev/themes/tools/theme-kit/configuration-reference#global-parameters

Also, I found no way to disable it on the config file.

Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants