bashrs 6.67.0

Rust-to-Shell transpiler for deterministic bootstrap scripts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! BATS test generation for bash scripts (Sprint 9, PMAT-216).
//!
//! Analyzes a bash script to detect functions, arguments, file dependencies,
//! error handling patterns, and environment variables, then generates
//! BATS-compatible test stubs.

use crate::cli::args::GenerateType;
use crate::models::{Error, Result};
use std::fs;
use std::path::Path;
use tracing::info;

/// Generate BATS-compatible test stubs for a bash script.