public void Invoke(PackageManifestBuilder manifestBuilder) { var suggestion = manifestBuilder.Name.Value?.ToPackageId(); var id = _prompt.Request("Package ID", suggestion); manifestBuilder.Id.Add(id.ToPackageId(), Confidence.Authoritative, this); }
public void Invoke(PackageManifestBuilder manifest) { var tag = _prompt.Request("Tag", PackageManifest.LATEST_TAG)?.ToLowerInvariant(); if (TagHelper.IsLatest(tag)) { tag = null; } manifest.Tag = tag; }
public void Invoke(PackageManifestBuilder manifest) { manifest.Version.Add(_prompt.Request("Application Version", manifest.Version.Value), Confidence.Plausible, this); }
public void Invoke(PackageManifestBuilder manifest) { var name = _prompt.Request("Product Name", manifest.Name.Value); manifest.Name.Add(name, Confidence.Authoritative, this); }