Skip to content
/ shell-plugin Public template

This plugin allows you to run shell commands in your FluentCI pipeline.

License

Notifications You must be signed in to change notification settings

fluentci-io/shell-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell Plugin

fluentci pipeline ci

This plugin allows you to run shell commands in your FluentCI pipeline.

🚀 Usage

Add the following command to your CI configuration file:

fluentci run --wasm shell fish echo "Hello, World!"

Functions

Name Description
bash Run bash commands
fish Run fish commands
zsh Run zsh commands
nu Run nushell commands

Code Usage

Add fluentci-pdk crate to your Cargo.toml:

[dependencies]
fluentci-pdk = "0.1.9"

Use the following code to call the plugin:

use fluentci_pdk::dag;

// ...

dag().call("https://pkg.fluentci.io/shell@v0.1.1?wasm=1", "bash", vec!["echo 'Hello, World!'"])?;

📚 Examples

Github Actions:

- name: Setup Fluent CI CLI
  uses: fluentci-io/setup-fluentci@v5
  with:
    wasm: true
    plugin: shell
    args: |
      fish echo "Hello, World!"

About

This plugin allows you to run shell commands in your FluentCI pipeline.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages