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

Default packagetype differs between clone and sync solution operations #333

Open
filcole opened this issue Oct 29, 2022 · 0 comments
Open

Comments

@filcole
Copy link

filcole commented Oct 29, 2022

The default --packagetype for pac solution clone is Both,
whereas the default --packagetype for pac solution sync is Unmanaged.

This feels inconsistent since I'm assuming that the intention is for sync to be used after an initial clone.

Clone

pac solution clone --help
Microsoft PowerPlatform CLI
Version: 1.19.4+gfbe2fd6

Error: A required argument --name is missing.

Usage: pac solution clone --name [--include] [--outputDirectory] [--async] [--max-async-wait-time] [--processCanvasApps] [--packagetype] [--targetversion]

[... snip ...]
  --packagetype               Specifies the extraction type for the solution. Can be: 'Unmanaged', 'Managed' or 'Both'; default: 'Both' (alias: -p)

Sync

❯ pac solution sync --help
Microsoft PowerPlatform CLI
Version: 1.19.4+gfbe2fd6

Error: An unknown argument --help was passed.

Usage: pac solution sync [--solution-folder] [--include] [--async] [--max-async-wait-time] [--processCanvasApps] [--packagetype]

[... snip ...]
  --packagetype               When unpacking/extracting, use to specify dual Managed and Unmanaged operation. When packing, use to specify Managed or Unmanaged from a previous unpack 'Both'. Can be: 'Unmanaged', 'Managed' or 'Both'; default: 'Unmanaged' (alias: -p)
@filcole filcole changed the title Default packagetype is differs between clone and sync operations Default packagetype differs between clone and sync operations Oct 29, 2022
@filcole filcole changed the title Default packagetype differs between clone and sync operations Default packagetype differs between clone and sync solution operations Oct 29, 2022
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

No branches or pull requests

1 participant