I tested the std::read_file action according to the official documentation:
action "test_read" "std::read_file" {
path = "non_existent_file.json"
}
I expected the CLI to report a file-not-found error, but instead I get:
error: action 'test_read': unknown command 'std::read_file'
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', crates/cli/src/runbook/mod.rs:371:50
I installed Surfpool 1.0.1 from source, and I also installed it via the bash script; got the same error.
I checked Cargo.toml and I don’t see any feature flags that could disable std modules.
Tested on a completely clean runbook.
It seems that std::read_file is not registered as an action, even though the docs show an example using it.
I tested the std::read_file action according to the official documentation:
I expected the CLI to report a file-not-found error, but instead I get:
I installed Surfpool 1.0.1 from source, and I also installed it via the bash script; got the same error.
I checked Cargo.toml and I don’t see any feature flags that could disable std modules.
Tested on a completely clean runbook.
It seems that std::read_file is not registered as an action, even though the docs show an example using it.