summaryrefslogtreecommitdiff
path: root/src/hello/hello.cpp
blob: 0c9df990e696ce6d24939d9e854055bebee71b8d (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <iostream>

#include <fmt/format.h>
#include <string>

int main(int argc, char **argv) {
  std::cout << fmt::format("Hello {}!",
                           argc > 1 ? std::string{argv[1]} : "World")
            << std::endl;
  return 0;
}