Parallel Works

pw marketplace import

Recreate marketplace items from exported bundles

Synopsis

Reads bundles written by pw marketplace export and recreates the items by publishing each version through the platform's typed marketplace endpoints. The directory is either a single bundle or a folder whose subdirectories are bundles (as written by a multi-item export); pointing at a folder imports several items at once. Items are private unless visibility flags are passed. Prompts for any missing input when run on a terminal.

pw marketplace import [dir] [flags]

Examples

  pw marketplace import ./my-workflow
  
  # Pick items to import from a directory of bundles
  pw marketplace import ./backups
  
  # Import under a new slug, visible platform-wide, without prompts
  pw marketplace import --slug my-workflow-copy --platform --yes ./my-workflow

Options

      --group strings   Make the item visible to a group (repeatable)
  -h, --help            help for import
      --name string     Display name to publish under (default: the bundle's name)
      --organization    Make the item visible to the publisher's organization
      --partner         Make the item visible to partner organizations
      --platform        Make the item visible to all platform users
      --slug string     Slug to publish under (default: the bundle's slug)
      --yes             Skip the confirmation prompt

Options inherited from parent commands

      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Will override any other platform host settings.
  -v, --verbose                Enable verbose logging

SEE ALSO