chore: full rename

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-08-12 21:42:13 +02:00
parent 2cd9509fcb
commit 26ef1cb0cd
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394
7 changed files with 9 additions and 9 deletions

2
Cargo.lock generated
View File

@ -418,7 +418,7 @@ dependencies = [
] ]
[[package]] [[package]]
name = "cuddle_cli" name = "cuddle"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",

View File

@ -1,3 +1,3 @@
[workspace] [workspace]
members = ["cuddle_cli", "examples/base", "ci"] members = ["cuddle", "examples/base", "ci"]
resolver = "2" resolver = "2"

View File

@ -3,7 +3,7 @@
Cuddle CLI is a Rust command-line interface application designed to manage Cuddle CLI is a Rust command-line interface application designed to manage
configuration variables and scripts across projects. It simplifies sharing of configuration variables and scripts across projects. It simplifies sharing of
code and workflows, making development and collaboration smoother and more code and workflows, making development and collaboration smoother and more
efficient. This project is published on crates.io as `cuddle_cli`. efficient. This project is published on crates.io as `cuddle`.
## Table of Contents ## Table of Contents
@ -22,7 +22,7 @@ Make sure you have Rust and Cargo installed. You can install Rust and Cargo from
To install Cuddle CLI, run: To install Cuddle CLI, run:
```sh ```sh
cargo install cuddle_cli cargo install cuddle
``` ```
## Usage ## Usage

View File

@ -14,7 +14,7 @@ async fn main() -> eyre::Result<()> {
HostDirectoryOptsBuilder::default() HostDirectoryOptsBuilder::default()
.include(vec![ .include(vec![
"ci/", "ci/",
"cuddle_cli/", "cuddle/",
"examples", "examples",
"Cargo.lock", "Cargo.lock",
"Cargo.toml", "Cargo.toml",
@ -86,7 +86,7 @@ async fn dind_image(
"--target", "--target",
&format!("{architecture}-unknown-linux-musl"), &format!("{architecture}-unknown-linux-musl"),
"--path", "--path",
"cuddle_cli", "cuddle",
"--profile=release", "--profile=release",
]); ]);

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
CUDDLE_FETCH_POLICY=never cuddle_cli render_template \ CUDDLE_FETCH_POLICY=never cuddle render_template \
--template-file "$TMP/input.txt.tmpl" \ --template-file "$TMP/input.txt.tmpl" \
--destination "$TMP/input.txt" \ --destination "$TMP/input.txt" \
--extra-var "extravar=someextravar" --extra-var "extravar=someextravar"

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
cargo install --path cuddle_cli/ cargo install --path cuddle/
cuddle --version cuddle --version

View File

@ -16,7 +16,7 @@ WORKDIR /app/cuddle/
COPY . . COPY . .
RUN cargo install --target x86_64-unknown-linux-musl --path cuddle_cli RUN cargo install --target x86_64-unknown-linux-musl --path cuddle
FROM docker:dind FROM docker:dind