feat(cap): list, tasks, pull commands and UX improvements#370
Merged
Conversation
- cap list: export and parse commerce_feature_states for installed features - cap tasks: show config tasks with clickable BM links - cap pull: download and extract app source packages from instance or GitHub - Standardize --site-id flag across all cap commands (--site as alias) - cap uninstall: auto-resolve domain from feature state (drop --domain) - cap install: keep archive by default, upload to Impex/commerce-apps/ - Fix sites API select query (*) -> (**) and null XML parse handling - Remove stub fixture fallback from list operation - Export all CAP operations and types from SDK main index - Update CLI docs, skill, and add changeset
…sx from typecheck
New schemas: commercefeaturestate, storefronts Updated: abtest, bmext, library, order, pagemetatag, search2, sort
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cap listcommand — exportscommerce_feature_statesfrom sites and displays installed features with type, source, install/config status, and versioncap taskscommand — shows configuration tasks for an installed app with clickable Business Manager linkscap pullcommand — downloads and extracts app source packages from the instance (or GitHub fallback) for cartridge deployment or Storefront Next development--site-idflag (with--siteas backward-compatible alias)cap uninstallno longer requires--domain— resolves it automatically from feature statecap installnow keeps the archive on the instance by default (--clean-archiveto remove), uploads toImpex/commerce-apps/select=(*)→(**)so site discovery actually returns site IDsTest plan
b2c cap listreturns installed features across all sitesb2c cap list --site-id RefArchfilters to a single siteb2c cap list --jsonreturns full feature state with decoded configTasks and installationMetadatab2c cap tasks avalara-tax --site-id RefArchshows numbered tasks with clickable linksb2c cap pulldownloads and extracts all registry apps to./commerce-apps/b2c cap pull avalara-taxpulls a single appb2c cap install ./app --site-id RefArchkeeps archive by defaultb2c cap uninstall avalara-tax --site-id RefArchworks without--domain--sitealias still works on all commands