Skip to main content

Module tools

Module tools 

Source
Expand description

Standalone utility functions for common agent tasks.

Re-exports§

pub use command::CmdOutput;
pub use command::run_cmd;
pub use command::run_cmd_in_dir;
pub use file::append_file;
pub use file::create_dir;
pub use file::delete_file;
pub use file::file_exists;
pub use file::find_files;
pub use file::list_dir;
pub use file::read_file;
pub use file::write_file;
pub use http::http_get;
pub use http::http_post;
pub use http::http_post_json;
pub use parse::extract_json;
pub use parse::parse_lines;
pub use parse::strip_code_fences;

Modules§

command
file
http
parse