lsp-cli 0.1.6

Command-line tool for talking to Language Server Protocol (LSP) servers from the terminal.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <sstream>

#include "order.hpp"

namespace playground::report {

std::string format_order(const Order &order) {
    std::ostringstream output;
    output << order.customer() << " has " << order.items().size() << " items worth "
           << order.total();
    return output.str();
}

}  // namespace playground::report