mirror of
https://github.com/openai/codex.git
synced 2026-11-23 23:10:47 +00:00
14 lines
545 B
Rust
14 lines
545 B
Rust
//! The codex-fs-ops crate provides a helper binary for performing various
|
|
//! filesystem operations when `codex` is invoked with `--codex-run-as-fs-ops`
|
|
//! as the first argument. By exposing this functionality via a CLI, this makes
|
|
//! it possible to execute the CLI within a sandboxed context in order to ensure
|
|
//! the filesystem restrictions of the sandbox are honored.
|
|
|
|
mod command;
|
|
mod constants;
|
|
mod runner;
|
|
|
|
pub use constants::CODEX_CORE_FS_OPS_ARG1;
|
|
pub use constants::READ_FILE_OPERATION_ARG2;
|
|
pub use runner::run_from_args_and_exit;
|