blob: 3742e47738d17a9afb2d83c03c19036ca16398ba [file] [log] [blame]
Jan Kundrátdc2b0722018-03-02 14:13:37 +01001/*
2 * Copyright (C) 2018 CESNET, https://photonics.cesnet.cz/
Jan Kundráta2740442018-03-22 16:56:43 +01003 * Copyright (C) 2018 FIT CVUT, https://fit.cvut.cz/
Jan Kundrátdc2b0722018-03-02 14:13:37 +01004 *
5 * Written by Jan Kundrát <jan.kundrat@cesnet.cz>
6 *
7*/
8
9#include <docopt.h>
10#include <string>
11#include "NETCONF_CLI_VERSION.h"
12
13static const char usage[] =
14R"(CLI interface to remote NETCONF hosts
15
16Usage:
17 netconf-cli (-h | --help)
18 netconf-cli --version
19)";
20
21int main(int argc, char* argv[])
22{
23 auto args = docopt::docopt(usage,
24 {argv + 1, argv + argc},
25 true,
26 "netconf-cli " NETCONF_CLI_VERSION,
27 true);
28 return 0;
29}