Skip to content

✨ Add hidden CLI app command for future SDKs#1043

Merged
wwilsman merged 2 commits into
masterfrom
ww/add-cli-app-command
Aug 19, 2022
Merged

✨ Add hidden CLI app command for future SDKs#1043
wwilsman merged 2 commits into
masterfrom
ww/add-cli-app-command

Conversation

@wwilsman

Copy link
Copy Markdown
Contributor

What is this?

We are currently working on support for native app screenshots, in which the browser download normally done by the exec command is wholly unnecessary. With the new skipDiscovery option introduced with #1038, we could map a flag or environment variable to enable this option, however there might still be future difference we wish to separate by means of an entirely new CLI command namespace.

This PR introduces that new namespace, percy app. Currently all subcommands are very thin wrappers for the exec commands which enables skipDiscovery while changing the commands help output description slightly. The plan is for native apps to use percy app:exec instead of percy exec (and similarly with app:exec:start).

Currently, this PR uses a hidden command warning since it isn't ready to be used by any SDKs (there currently isn't any native app SDKs to support). Once we ship an SDK that utilizes these new commands, we can release a separate CLI update to unhide these commands and remove the warning.

@wwilsman wwilsman added the ✨ enhancement New feature or request label Aug 19, 2022
@wwilsman
wwilsman requested a review from Robdel12 August 19, 2022 16:46

@Robdel12 Robdel12 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🏁

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

Labels

✨ enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants