mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 06:14:59 +00:00
MetaBuilder CLI
This simple CLI targets MetaBuilder services via HTTP and uses Conan + Ninja for dependency management and builds.
Requirements
- Conan 2 (used for dependency resolution)
- CMake 3.27+ (the Conan toolchain generator targets this minimum)
- Ninja (build backend)
- A running MetaBuilder frontend (defaults to
http://localhost:3000)
Building
cd frontends/cli
conan install . --output-folder build --build missing
cmake -S . -B build -G Ninja
cmake --build build
Conan will provision cpr for HTTP requests and generate conan_toolchain.cmake inside build/.
Running
The executable looks for METABUILDER_BASE_URL (default http://localhost:3000):
METABUILDER_BASE_URL=http://localhost:3000 ./build/bin/metabuilder-cli auth session
METABUILDER_BASE_URL=http://localhost:3000 ./build/bin/metabuilder-cli user list
Available commands are listed when running without arguments or with an unrecognized command.