* consolidate deserializers

* key value list doc

* use string list deserializers for all entity Vec<String>

* add additional env files support

* plumbing for Action resource

* js client readme indentation

* regen lock

* add action UI

* action backend

* start on action frontend

* update lock

* get up to speed

* get action started

* clean up default action file

* seems to work

* toml export include action

* action works

* action works part 2

* bump rust version to 1.82.0

* copy deno bin from bin image

* action use local dir

* update not having changes doesn't return error

* format with prettier

* support yaml formatting with prettier

* variable no change is Ok
This commit is contained in:
Maxwell Becker
2024-10-20 02:27:28 -04:00
committed by GitHub
parent 020cdc06fd
commit 5daba3a557
142 changed files with 17524 additions and 6737 deletions

View File

@@ -2,7 +2,7 @@ use std::path::Path;
use komodo_client::{
entities::{komodo_timestamp, update::Log},
parser::parse_multiline_command,
parsers::parse_multiline_command,
};
use run_command::{async_run_command, CommandOutput};
@@ -14,8 +14,13 @@ pub async fn run_komodo_command(
stage: &str,
path: impl Into<Option<&Path>>,
command: impl AsRef<str>,
parse_multiline: bool,
) -> Log {
let command = parse_multiline_command(command);
let command = if parse_multiline {
parse_multiline_command(command)
} else {
command.as_ref().to_string()
};
let command = if let Some(path) = path.into() {
format!("cd {} && {command}", path.display(),)
} else {