diff --git a/src/vcpkg/sourceparagraph.cpp b/src/vcpkg/sourceparagraph.cpp index 97485b0d3a..e0d42f1115 100644 --- a/src/vcpkg/sourceparagraph.cpp +++ b/src/vcpkg/sourceparagraph.cpp @@ -1412,7 +1412,6 @@ namespace vcpkg control_file->feature_paragraphs = std::move(features_tmp.feature_paragraphs); control_file->extra_features_info = std::move(features_tmp.extra_features_info); - // FIXME copy pasta from ManifestConfiguration? auto vcpkg_configuration = obj.get(JsonIdVcpkgConfiguration); if (vcpkg_configuration) { diff --git a/vcpkg-artifacts/cli/commands/list.ts b/vcpkg-artifacts/cli/commands/list.ts deleted file mode 100644 index 49bf37906a..0000000000 --- a/vcpkg-artifacts/cli/commands/list.ts +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { session } from '../../main'; -import { Command } from '../command'; -import { Table } from '../console-table'; -import { artifactIdentity } from '../format'; -import { log } from '../styling'; -import { Installed } from '../switches/installed'; - -export class ListCommand extends Command { - readonly command = 'list'; - installed = new Installed(this); - - override async run() { - if (this.installed.active) { - const artifacts = await session.getInstalledArtifacts(); - const table = new Table('Artifact', 'Version', 'Summary'); - - for (const { artifact, id } of artifacts) { - const name = artifactIdentity('', id, artifact.shortName); //todo: fixme - table.push(name, artifact.version, artifact.metadata.summary || ''); - } - log(table.toString()); - log(); - } - else { - log('use --installed for now'); - } - - return true; - } -} diff --git a/vcpkg-artifacts/main.ts b/vcpkg-artifacts/main.ts index 9e75c56967..29924238d2 100644 --- a/vcpkg-artifacts/main.ts +++ b/vcpkg-artifacts/main.ts @@ -16,7 +16,6 @@ import { DeactivateCommand } from './cli/commands/deactivate'; import { DeleteCommand } from './cli/commands/delete'; import { FindCommand } from './cli/commands/find'; import { GenerateMSBuildPropsCommand } from './cli/commands/generate-msbuild-props'; -import { ListCommand } from './cli/commands/list'; import { RegenerateCommand } from './cli/commands/regenerate-index'; import { RemoveCommand } from './cli/commands/remove'; import { UpdateCommand } from './cli/commands/update'; @@ -50,7 +49,6 @@ async function main() { await session.init(); commandline.addCommand(new FindCommand(commandline)); - commandline.addCommand(new ListCommand(commandline)); commandline.addCommand(new AddCommand(commandline)); commandline.addCommand(new AcquireProjectCommand(commandline));