blob: a68b655263022ea6acbaf9586357a5f0065f53fe [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <lib/async-loop/default.h>
#include <lib/syslog/cpp/log_settings.h>
#include <lib/syslog/cpp/macros.h>
#include "src/developer/shell/interpreter/src/server.h"
int main(int argc, char** argv) {
syslog::SetTags({"shell", "interpreter"});
async::Loop loop(&kAsyncLoopConfigAttachToCurrentThread);
shell::interpreter::server::Server server(&loop);
if (!server.Listen()) {
return 1;
}
server.Run();
return 0;
}