aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_available_commands.cpp
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-10-13 18:37:41 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-10-13 18:37:41 -0700
commite17de99599a2f114faab1bb4821fbaad4d266c95 (patch)
tree397fec8a85af3ef002c125ce013eceb60d27116d /toolsrc/src/commands_available_commands.cpp
parent1fb5313a881fe0fcfd90dff5255045c8367ee00b (diff)
downloadvcpkg-e17de99599a2f114faab1bb4821fbaad4d266c95.tar.gz
vcpkg-e17de99599a2f114faab1bb4821fbaad4d266c95.zip
[vcpkg] Re-layout all files using new organization scheme.
All filenames and directories are lowercase. Use dots for namespace separation.
Diffstat (limited to 'toolsrc/src/commands_available_commands.cpp')
-rw-r--r--toolsrc/src/commands_available_commands.cpp50
1 files changed, 0 insertions, 50 deletions
diff --git a/toolsrc/src/commands_available_commands.cpp b/toolsrc/src/commands_available_commands.cpp
deleted file mode 100644
index d3280e6d7..000000000
--- a/toolsrc/src/commands_available_commands.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
-#include "pch.h"
-
-#include "vcpkg_Commands.h"
-
-namespace vcpkg::Commands
-{
- const std::vector<PackageNameAndFunction<CommandTypeA>>& get_available_commands_type_a()
- {
- static std::vector<PackageNameAndFunction<CommandTypeA>> t = {
- {"install", &Install::perform_and_exit},
- {"ci", &CI::perform_and_exit},
- {"remove", &Remove::perform_and_exit},
- {"build", &BuildCommand::perform_and_exit},
- {"env", &Env::perform_and_exit},
- {"build-external", &BuildExternal::perform_and_exit},
- {"export", &Export::perform_and_exit},
- };
- return t;
- }
-
- const std::vector<PackageNameAndFunction<CommandTypeB>>& get_available_commands_type_b()
- {
- static std::vector<PackageNameAndFunction<CommandTypeB>> t = {
- {"/?", &Help::perform_and_exit},
- {"help", &Help::perform_and_exit},
- {"search", &Search::perform_and_exit},
- {"list", &List::perform_and_exit},
- {"integrate", &Integrate::perform_and_exit},
- {"owns", &Owns::perform_and_exit},
- {"update", &Update::perform_and_exit},
- {"depend-info", &DependInfo::perform_and_exit},
- {"edit", &Edit::perform_and_exit},
- {"create", &Create::perform_and_exit},
- {"import", &Import::perform_and_exit},
- {"cache", &Cache::perform_and_exit},
- {"portsdiff", &PortsDiff::perform_and_exit},
- {"autocomplete", &Autocomplete::perform_and_exit}};
- return t;
- }
-
- const std::vector<PackageNameAndFunction<CommandTypeC>>& get_available_commands_type_c()
- {
- static std::vector<PackageNameAndFunction<CommandTypeC>> t = {
- {"version", &Version::perform_and_exit},
- {"contact", &Contact::perform_and_exit},
- {"hash", &Hash::perform_and_exit},
- };
- return t;
- }
-}