Skip to content

Commit

Permalink
always install arkade
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Aug 6, 2024
1 parent f6139f0 commit 62ed18f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pub fn chart(args: String) -> FnResult<String> {

#[plugin_fn]
pub fn get(args: String) -> FnResult<String> {
setup_arkade()?;
let stdout = dag()
.pipeline("get")?
.with_exec(vec!["arkade", "get", &args])?
Expand All @@ -31,6 +32,7 @@ pub fn get(args: String) -> FnResult<String> {

#[plugin_fn]
pub fn install(args: String) -> FnResult<String> {
setup_arkade()?;
let stdout = dag()
.pipeline("install")?
.with_exec(vec!["arkade", "install", &args])?
Expand All @@ -40,6 +42,7 @@ pub fn install(args: String) -> FnResult<String> {

#[plugin_fn]
pub fn oci(args: String) -> FnResult<String> {
setup_arkade()?;
let stdout = dag()
.pipeline("oci")?
.with_exec(vec!["arkade", "oci", &args])?
Expand All @@ -49,6 +52,7 @@ pub fn oci(args: String) -> FnResult<String> {

#[plugin_fn]
pub fn system(args: String) -> FnResult<String> {
setup_arkade()?;
let stdout = dag()
.pipeline("system")?
.with_exec(vec!["arkade", "system", &args])?
Expand Down

0 comments on commit 62ed18f

Please sign in to comment.