Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ git_rev = "0.1.0"
heck = "0.5.0"
http = "1"
itertools = "0.12.1"
kcl-lib = { version = "0.2.67", features = ["disable-println"] }
kcl-lib = { version = "0.2.69", features = ["disable-println"] }
#kcl-lib = { path = "../modeling-app/src/wasm-lib/kcl" }
kcl-test-server = "0.1.67"
kcl-test-server = "0.1.69"
kittycad = { version = "0.3.34", features = ["clap", "tabled", "requests", "retry"] }
kittycad-modeling-cmds = { version = "0.2.118", features = ["websocket", "convert_client_crate", "tabled"] }
log = "0.4.27"
Expand Down
2 changes: 2 additions & 0 deletions cli-macro-impl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1436,6 +1436,8 @@ fn get_flags(name: &str) -> Result<Flags> {
flags.short = '4';
} else if flags.long == "ipv6-block" {
flags.short = '6';
} else if flags.long == "is-onboarded" {
flags.short = 'o';
}

Ok(flags)
Expand Down
5 changes: 5 additions & 0 deletions cli-macro-impl/tests/gen/users.rs.gen
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ pub struct CmdUserEdit {
#[doc = "The image URL for the user. NOTE: If the user uses an OAuth2 provider, this will be overwritten by the provider's image URL when the user logs in next."]
#[clap(long = "image", short = 'i', required = true)]
pub new_image: String,
#[doc = "If the user is now onboarded."]
#[clap(long = "is-onboarded", short = 'o', required = false)]
pub new_is_onboarded: Option<bool>,
#[doc = "The user's last name."]
#[clap(long = "last-name", short = 'l', required = false)]
pub new_last_name: Option<String>,
Expand All @@ -71,6 +74,7 @@ impl crate::cmd::Command for CmdUserEdit {
&& self.new_first_name.is_none()
&& self.new_github.is_none()
&& self.new_image.is_empty()
&& self.new_is_onboarded.is_none()
&& self.new_last_name.is_none()
&& self.new_phone.is_none()
{
Expand All @@ -86,6 +90,7 @@ impl crate::cmd::Command for CmdUserEdit {
first_name: self.new_first_name.clone(),
github: self.new_github.clone(),
image: self.new_image.clone(),
is_onboarded: self.new_is_onboarded.clone(),
last_name: self.new_last_name.clone(),
phone: self.new_phone.clone(),
})
Expand Down
Loading
Loading