Source File: sleep.cpp

//https://www.gnu.org/software/coreutils/manual/html_node/sleep-invocation.html 
#include <fmt/core.h>
#include <chrono>
#include <thread>
#include <string>

int main(int argc, char* argv[]) {
  if(argc != 2) {
    fmt::println("USAGE: sleep [seconds]");
    return 1;
  }

  int time = std::stoi(argv[1]);
  std::chrono::seconds wait_for{time};

  std::this_thread::sleep_for(wait_for);
}