Documentation
¶
Index ¶
- func NewLocalizationsCommand(d *shared.Deps) *ffcli.Command
- func ResolveVersionIDForMutation(ctx context.Context, d *shared.Deps, client *asc.Client, ...) (string, error)
- func ResolveVersionIDForUpload(ctx context.Context, d *shared.Deps, client *asc.Client, version, appID string) (string, error)
- func ValidateVersionIDForUpload(d *shared.Deps, version string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLocalizationsCommand ¶
LocalizationsCommand returns the localizations command with subcommands.
func ResolveVersionIDForMutation ¶
func ResolveVersionIDForMutation(ctx context.Context, d *shared.Deps, client *asc.Client, version, appID, platform string) (string, error)
ResolveVersionIDForMutation resolves a version selector and verifies that a selected app owns an explicit version ID before a localization write. Without a selected app, a version ID remains a supported standalone selector.
func ResolveVersionIDForUpload ¶
func ResolveVersionIDForUpload(ctx context.Context, d *shared.Deps, client *asc.Client, version, appID string) (string, error)
ResolveVersionIDForUpload keeps localization uploads on their documented resource-ID contract while applying the selected-app ownership check.
Types ¶
This section is empty.