mirror of
https://github.com/nestriness/cdc-file-transfer.git
synced 2026-01-30 10:35:37 +02:00
[cdc_stream] Switch asset_stream_manager to use Lyra (#25)
Switch asset_stream_manager to use Lyra Lyra has a nice simple interface, but a few quirks that we work around, mainly in the BaseCommand class: - It does not support return values from running a command. - It does not support return values from a custom arg parser. - Lyra interprets --bad_arg as positional argument. Fixes #15
This commit is contained in:
35
third_party/lyra/BUILD.bazel
vendored
Normal file
35
third_party/lyra/BUILD.bazel
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
# Description:
|
||||
# This project provides Linux compatible Dirent interface for Microsoft Windows.
|
||||
#
|
||||
|
||||
licenses(["notice"]) # BSL-1.0 license
|
||||
|
||||
exports_files(["LICENSE"])
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
cc_library(
|
||||
name = "lyra",
|
||||
hdrs = [
|
||||
"include/lyra/arg.hpp",
|
||||
"include/lyra/args.hpp",
|
||||
"include/lyra/arguments.hpp",
|
||||
"include/lyra/cli.hpp",
|
||||
"include/lyra/cli_parser.hpp",
|
||||
"include/lyra/command.hpp",
|
||||
"include/lyra/detail",
|
||||
"include/lyra/exe_name.hpp",
|
||||
"include/lyra/group.hpp",
|
||||
"include/lyra/help.hpp",
|
||||
"include/lyra/literal.hpp",
|
||||
"include/lyra/lyra.hpp",
|
||||
"include/lyra/main.hpp",
|
||||
"include/lyra/opt.hpp",
|
||||
"include/lyra/option_style.hpp",
|
||||
"include/lyra/parser.hpp",
|
||||
"include/lyra/parser_result.hpp",
|
||||
"include/lyra/val.hpp",
|
||||
"include/lyra/version.hpp",
|
||||
],
|
||||
includes = ["include"],
|
||||
)
|
||||
Reference in New Issue
Block a user