Commit 79cf10db authored by Wohlgemuth, Jason's avatar Wohlgemuth, Jason
Browse files

feat: Create pipe-cli sub package

parent bbff54b0
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1925,7 +1925,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"

[[package]]
name = "pipe"
name = "pipe-cli"
version = "0.0.1"
dependencies = [
 "bon",
+11 −47
Original line number Diff line number Diff line
[package]
name = "pipe"
[workspace]
members = ["pipe-cli"]
resolver = "2"

[workspace.package]
version = "0.0.1"
authors = ["Jason Wohlgemuth <wohlgemuthjh@ornl.gov>"]
description = "Parallel Integration and Processing Engine"
documentation = "https://pipe.ornl.gov"
readme = "README.md"
homepage = "https://pipe.ornl.gov"
repository = "https://code.ornl.gov/GSHS/common/pipe/command"
version = "0.0.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bon = "1.0.4"
clap = { version = "4.4.2", features = ["derive"] }
clap-verbosity-flag = "2.2.0"
color-eyre = "0.6.3"
console = { version = "0.15.7", default-features = false, features = ["ansi-parsing"] }
derive_more = "0.99.18"
dotenv = "0.15.0"
env_logger = "0.11.3"
exitcode = "1.1.2"
fancy-regex = "0.13.0"
glob = "0.3.1"
indicatif = "0.17.6"
is-terminal = "0.4.9"
log = "0.4.20"
nanoid = "0.4.0"
owo-colors = "4.0.0"
rayon = "1.7.0"
regex = "1.9.5"
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.107"
serde_yml = "0.0.11"
tokio = { version = "1.39.2", features = ["full"] }
tracing = { version = "0.1.40" }
tracing-log = "0.2.0"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"]}
uriparse = "0.6.4"
valuable = "0.1.0"
valuable-derive = "0.1.0"

[dev-dependencies]
cargo-watch = "8.4.1"

[lib]
name = "pipe"
path = "src/lib.rs"
test = false
doctest = false

[lints.rust]
unsafe_code = "forbid"
[profile.release]
debug = true
 No newline at end of file
+3 −2
Original line number Diff line number Diff line
@@ -5,8 +5,9 @@ clean:
	@cargo clean

lint:
	@cargo fmt
	@cargo clippy
	@cargo fmt --verbose
	# @cargo clippy --no-deps --all-targets --fix
	@cargo clippy --no-deps

test: lint
	@cargo test
+34 −36
Original line number Diff line number Diff line
TN:
SF:/root/dev/command/src/commands/check/checks/is_valid_python_module/mod.rs
SF:/root/dev/command/pipe-cli/src/commands/check/checks/is_valid_python_module/mod.rs
FN:15,run
FNF:1
FNDA:0,run
@@ -9,7 +9,7 @@ LF:2
LH:0
end_of_record
TN:
SF:/root/dev/command/src/commands/check/checks/template/mod.rs
SF:/root/dev/command/pipe-cli/src/commands/check/checks/template/mod.rs
FN:5,_run
FNF:1
FNDA:0,_run
@@ -19,7 +19,7 @@ LF:2
LH:0
end_of_record
TN:
SF:/root/dev/command/src/commands/check/mod.rs
SF:/root/dev/command/pipe-cli/src/commands/check/mod.rs
FN:19,run
FNF:1
FNDA:0,run
@@ -98,7 +98,7 @@ LF:71
LH:0
end_of_record
TN:
SF:/root/dev/command/src/commands/doctor/mod.rs
SF:/root/dev/command/pipe-cli/src/commands/doctor/mod.rs
FN:6,run
FNF:1
FNDA:0,run
@@ -107,7 +107,7 @@ LF:1
LH:0
end_of_record
TN:
SF:/root/dev/command/src/commands/run/mod.rs
SF:/root/dev/command/pipe-cli/src/commands/run/mod.rs
FN:15,run
FNF:1
FNDA:0,run
@@ -233,7 +233,7 @@ LF:118
LH:0
end_of_record
TN:
SF:/root/dev/command/src/main.rs
SF:/root/dev/command/pipe-cli/src/main.rs
FN:26,main
FNF:1
FNDA:0,main
@@ -256,7 +256,7 @@ LF:15
LH:0
end_of_record
TN:
SF:/root/dev/command/src/reporters/console/mod.rs
SF:/root/dev/command/pipe-cli/src/reporters/console/mod.rs
FN:4,run
FN:42,print_pass
FN:51,print_fail
@@ -298,7 +298,7 @@ LF:30
LH:0
end_of_record
TN:
SF:/root/dev/command/src/reporters/json/mod.rs
SF:/root/dev/command/pipe-cli/src/reporters/json/mod.rs
FN:8,run
FNF:1
FNDA:0,run
@@ -336,7 +336,7 @@ LF:30
LH:0
end_of_record
TN:
SF:/root/dev/command/src/reporters/stdout/mod.rs
SF:/root/dev/command/pipe-cli/src/reporters/stdout/mod.rs
FN:4,run
FNF:1
FNDA:0,run
@@ -346,7 +346,7 @@ LF:2
LH:0
end_of_record
TN:
SF:/root/dev/command/src/util/mod.rs
SF:/root/dev/command/pipe-cli/src/util/mod.rs
FN:362,Command::test
FN:389,Config::read
FN:413,Config::read_json
@@ -446,12 +446,12 @@ FNDA:1,Script::expand_arguments
FNDA:1,Script::expand_arguments_from
FNDA:1,Script::from_template
FNDA:1,Script::from_path
FNDA:2,Script::get_command
FNDA:2,Script::get_arguments
FNDA:1,Script::get_command
FNDA:1,Script::get_arguments
FNDA:0,Script::maybe_create_conda_environment
FNDA:1,Script::maybe_git_clone
FNDA:0,Script::python_default
FNDA:2,Script::run
FNDA:1,Script::run
FNDA:1,Script::with_current_dir
FNDA:1,Script::with_environment
FNDA:0,Script::with_envs
@@ -470,8 +470,6 @@ FNDA:0,is_stdin_piped
FNDA:0,is_stdout_piped
FNDA:1,read_file
FNDA:1,to_string
DA:35,0
DA:36,0
DA:362,1
DA:363,1
DA:367,2
@@ -479,7 +477,7 @@ DA:369,3
DA:370,1
DA:371,1
DA:373,2
DA:374,2
DA:374,1
DA:375,2
DA:376,4
DA:378,6
@@ -689,17 +687,17 @@ DA:772,0
DA:775,2
DA:776,1
DA:777,1
DA:779,2
DA:780,2
DA:779,1
DA:780,1
DA:781,1
DA:782,2
DA:785,2
DA:786,2
DA:782,1
DA:785,1
DA:786,1
DA:787,1
DA:788,1
DA:789,3
DA:790,2
DA:792,2
DA:792,1
DA:796,0
DA:797,0
DA:798,0
@@ -732,19 +730,19 @@ DA:836,0
DA:837,0
DA:838,0
DA:846,0
DA:850,2
DA:851,2
DA:852,2
DA:853,4
DA:854,4
DA:855,4
DA:856,2
DA:857,14
DA:858,4
DA:859,2
DA:850,1
DA:851,1
DA:852,1
DA:853,2
DA:854,2
DA:855,3
DA:856,1
DA:857,8
DA:858,2
DA:859,1
DA:860,1
DA:861,2
DA:862,2
DA:861,1
DA:862,1
DA:867,4
DA:868,2
DA:870,0
@@ -788,7 +786,7 @@ DA:952,0
DA:953,0
DA:954,0
DA:961,2
DA:963,2
DA:963,1
DA:970,1
DA:971,4
DA:972,3
@@ -856,6 +854,6 @@ DA:1189,1
DA:1192,4
DA:1194,1
DA:1195,4
LF:386
LF:384
LH:225
end_of_record

pipe-cli/Cargo.toml

0 → 100644
+51 −0
Original line number Diff line number Diff line
[package]
name = "pipe-cli"
version.workspace = true
authors.workspace = true
description.workspace = true
documentation.workspace = true
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bon = "1.0.4"
clap = { version = "4.4.2", features = ["derive"] }
clap-verbosity-flag = "2.2.0"
color-eyre = "0.6.3"
console = { version = "0.15.7", default-features = false, features = ["ansi-parsing"] }
derive_more = "0.99.18"
dotenv = "0.15.0"
env_logger = "0.11.3"
exitcode = "1.1.2"
fancy-regex = "0.13.0"
glob = "0.3.1"
indicatif = "0.17.6"
is-terminal = "0.4.9"
log = "0.4.20"
nanoid = "0.4.0"
owo-colors = "4.0.0"
rayon = "1.7.0"
regex = "1.9.5"
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.107"
serde_yml = "0.0.11"
tokio = { version = "1.39.2", features = ["full"] }
tracing = { version = "0.1.40" }
tracing-log = "0.2.0"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"]}
uriparse = "0.6.4"
valuable = "0.1.0"
valuable-derive = "0.1.0"

[dev-dependencies]
cargo-watch = "8.4.1"

[lib]
name = "pipe"
path = "src/lib.rs"
test = false
doctest = false

[lints.rust]
unsafe_code = "forbid"
Loading