1
0
mirror of https://github.com/containers/youki synced 2024-11-23 01:11:58 +01:00
youki/crates/liboci-cli
Eric Fang ebef6dba09
Introduce a log-level flag. (#2036)
* Implement `--log-level`

In short:

Propose the default log level for release to error
Keep the --debug flag and it sets the log level to debug
Introduce --log-level flag to set the log level
--debug flag will be ignored if --log-level flag is also set.
Keep the default log level for debug build to debug

Signed-off-by: yihuaf <yihuaf@unkies.org>

* minor fix to CI

Signed-off-by: yihuaf <yihuaf@unkies.org>

* move log-level to youki_extend

Signed-off-by: yihuaf <yihuaf@unkies.org>

* remove the workflow_dispatch trigger

Signed-off-by: yihuaf <yihuaf@unkies.org>

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-17 21:56:49 +09:00
..
src Introduce a log-level flag. (#2036) 2023-06-17 21:56:49 +09:00
Cargo.toml v0.0.5 2023-03-29 11:12:36 +00:00
README.md fix(docs): Fix link syntax in liboci-cli/README.md 2022-01-03 22:06:03 +01:00

liboci-cli

This is a crate to parse command line arguments for OCI container runtimes as specified in the OCI Runtime Command Line Interface.

Implemented subcommands

Command liboci-cli CLI Specification runc crun youki
create
start
state
kill
delete
checkpoint
events
exec
list
pause
ps
restore
resume
run
spec
update