Skip to main content

gadk_cli/util/
mod.rs

1// Copyright 2026 Chris Olson
2// Portions derived from ADK-Go (https://github.com/google/adk-go), Copyright 2026 Google LLC.
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//     http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16//! The text checks and the console helpers the `gadk` commands print with. The flag-usage
17//! helper lives in `gadk-launcher` as `flag_usage` (the launcher's user).
18
19mod oscmd;
20mod text;
21
22pub use oscmd::{
23    BLUE, CYAN, GRAY, GREEN, MAGENTA, Printer, RED, RESET, ReprintableStream, WHITE, YELLOW,
24    log_command, log_start_stop, new_reprintable_stream, strip_extension,
25};
26pub use text::{center_string, validate_dockerfile_safe, validate_shell_arg_safe};