1
0
mirror of https://github.com/pcvolkmer/cert-tools.git synced 2025-07-01 22:12:55 +00:00

refactor: move implementation into lib.rs

This commit is contained in:
2025-01-04 15:34:27 +01:00
parent 35e5de2632
commit 9486cb0653
2 changed files with 1 additions and 2 deletions

View File

@ -17,16 +17,15 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
mod chain;
mod cli; mod cli;
use crate::chain::{print_cert, Chain, PrivateKey};
use crate::cli::{Cli, SubCommand}; use crate::cli::{Cli, SubCommand};
use clap::Parser; use clap::Parser;
use console::style; use console::style;
use itertools::Itertools; use itertools::Itertools;
use std::cmp::Ordering; use std::cmp::Ordering;
use std::path::Path; use std::path::Path;
use cert_tools::{print_cert, Chain, PrivateKey};
fn main() -> Result<(), ()> { fn main() -> Result<(), ()> {
let cli = Cli::parse(); let cli = Cli::parse();