Skip to content

Commit

Permalink
refactor v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-mo-143 committed Dec 25, 2023
1 parent 8d95d5f commit bdda149
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 50 deletions.
108 changes: 66 additions & 42 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Do you have NIH syndrome? Me too, which is why I made this web service so I can
## Usage
The easiest way to start using Chamber is via the CLI. Currently there is no package published on crates.io, so you will need to install it using the following:
```bash
cargo install chamber
cargo install chamber-cli
```
You'll want to then set the URL of your Chamber instance using `chamber website set [VALUE]`.

Expand Down
6 changes: 4 additions & 2 deletions chamber-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
name = "chamber-cli"
version = "0.1.0"
edition = "2021"
description = "The core for Chamber, the self-hostable SecretOps service."
license = "MIT"
description = "The CLI for Chamber, the self-hostable SecretOps service."
homepage = "https://www.github.com/joshua-mo-143/chamber"
documentation = "https://www.github.com/joshua-mo-143/chamber"
repository = "https://www.github.com/joshua-mo-143/chamber"
Expand All @@ -20,7 +21,8 @@ home = "0.5.9"
reqwest = { version = "0.11.22", features = ["json", "blocking", "multipart"] }
toml = "0.8.8"
inquire = "0.6.2"
chamber-core = { path = "../chamber-core" }
# chamber-core = { path = "../chamber-core" }
chamber-core = "0.1.0"
bincode = { workspace = true }
aes-gcm = { workspace = true }
generic-array = { workspace = true }
Expand Down
10 changes: 5 additions & 5 deletions chamber-cli/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ pub enum Commands {
#[command(subcommand)]
cmd: UserCommands,
},
/// Commands related to setting/getting the URL for your Boulder instance.
/// Commands related to setting/getting the URL for your Chamber instance.
Website {
#[command(subcommand)]
cmd: WebsiteCommands,
},
/// Log in to your Boulder instance.
/// Log in to your Chamber instance.
Login(LoginArgs),
/// Commands related to generating keys for your Boulder instance.
/// Commands related to generating keys for your Chamber instance.
Keygen(KeygenArgs),
/// Unseal your Boulder instance.
Unseal { boulder_key: String },
/// Unseal your Chamber instance.
Unseal { chamber_key: String },
Upload(UploadArgs)
}

Expand Down

0 comments on commit bdda149

Please sign in to comment.