| Crates.io | acts-package-shell |
| lib.rs | acts-package-shell |
| version | 0.17.2 |
| created_at | 2025-06-06 12:21:23.085768+00 |
| updated_at | 2025-06-07 13:44:22.923499+00 |
| description | acts package for shell |
| homepage | https://docs.rs/acts-package-http |
| repository | https://github.com/yaojianpin/acts.git |
| max_upload_size | |
| id | 1702954 |
| size | 59,612 |
The acts shell package plugin for acts.
cargo add acts-package-shell
use acts::EngineBuilder;
use acts_package_shell::ShellPackagePlugin;
#[tokio::main]
async fn main() {
let engine = EngineBuilder::new()
.add_plugin(&ShellPackagePlugin)
.build()
.start();
}
name: shell example
id: shell-example
inputs:
my_input: "hello, world"
steps:
- name: shell step
acts:
- uses: acts.app.shell
params:
shell: nu
content-type: json
script: |
let data = "{{ my_input }}"
$data | split row ',' | each { |it| $it | str trim } | to json