Inconsistent parameter naming for target architecture #2175
Labels
status/triage
Issue or PR that requires contributor attention.
type/enhancement
Issue that requests a new feature or improvement.
Milestone
Description
Currently, different commands use different parameter names for building for a specific architecture. Here are few examples:
pack buildpack new
uses--targets
pack builder create
uses--target
pack build
uses--platform
We noticed that this leads to confusion and also issues in help and log messages like the Pro-Tip for
pack builder create
which proposes--targets
instead of the correct--target
.Proposed solution
Harmonization of the parameter names leads to a consistent experience for the user. Our proposal is to use an additional
--targets
alias for all commands which is based on the naming for the multi-arch properties in the toml configuration like stated in specs for buildpack.toml, image-extension.toml and Stacks-Removal-RFC96, Multi-Arch-RFC128.The text was updated successfully, but these errors were encountered: