resq_cli/lib.rs
1/*
2 * Copyright 2026 ResQ
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
17#![allow(clippy::pedantic)]
18
19//! `ResQ` CLI - Command-line interface for managing `ResQ` services.
20//!
21//! This crate provides a unified CLI for interacting with the `ResQ` platform,
22//! including service management, blockchain queries, and deployment operations.
23//!
24//! # Commands
25//!
26//! - `status` - Check service health
27//! - `deploy` - Deploy services to Kubernetes
28//! - `logs` - View and filter logs
29//! - `secrets` - Manage secrets
30//! - `audit` - Audit blockchain events
31//!
32//! # Usage
33//!
34//! ```bash
35//! resq status
36//! resq deploy --service infrastructure-api
37//! resq logs --service edge-aeai --level debug
38//! ```
39
40#![deny(missing_docs)]
41
42/// CLI command implementations.
43pub mod commands;
44/// Gitignore pattern utilities.
45pub mod gitignore;
46/// Shared utility functions.
47pub mod utils;