Skip to content

Commit 91419a1

Browse files
adamchalmersgithub-actions[bot]jessfraz
authored
Bump KCL to 69 (#1272)
* YOYO NEW API SPEC! * Bump KCL to 69 * Updates from kittycad.rs * Fix test * Fix test * fix macro Signed-off-by: Jess Frazelle <[email protected]> * new gear Signed-off-by: Jess Frazelle <[email protected]> * update samples Signed-off-by: Jess Frazelle <[email protected]> --------- Signed-off-by: Jess Frazelle <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Jess Frazelle <[email protected]>
1 parent eb85ce9 commit 91419a1

File tree

13 files changed

+1535
-738
lines changed

13 files changed

+1535
-738
lines changed

Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ git_rev = "0.1.0"
2222
heck = "0.5.0"
2323
http = "1"
2424
itertools = "0.12.1"
25-
kcl-lib = { version = "0.2.67", features = ["disable-println"] }
25+
kcl-lib = { version = "0.2.69", features = ["disable-println"] }
2626
#kcl-lib = { path = "../modeling-app/src/wasm-lib/kcl" }
27-
kcl-test-server = "0.1.67"
27+
kcl-test-server = "0.1.69"
2828
kittycad = { version = "0.3.34", features = ["clap", "tabled", "requests", "retry"] }
2929
kittycad-modeling-cmds = { version = "0.2.118", features = ["websocket", "convert_client_crate", "tabled"] }
3030
log = "0.4.27"

cli-macro-impl/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1436,6 +1436,8 @@ fn get_flags(name: &str) -> Result<Flags> {
14361436
flags.short = '4';
14371437
} else if flags.long == "ipv6-block" {
14381438
flags.short = '6';
1439+
} else if flags.long == "is-onboarded" {
1440+
flags.short = 'o';
14391441
}
14401442

14411443
Ok(flags)

cli-macro-impl/tests/gen/users.rs.gen

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ pub struct CmdUserEdit {
5555
#[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."]
5656
#[clap(long = "image", short = 'i', required = true)]
5757
pub new_image: String,
58+
#[doc = "If the user is now onboarded."]
59+
#[clap(long = "is-onboarded", short = 'o', required = false)]
60+
pub new_is_onboarded: Option<bool>,
5861
#[doc = "The user's last name."]
5962
#[clap(long = "last-name", short = 'l', required = false)]
6063
pub new_last_name: Option<String>,
@@ -71,6 +74,7 @@ impl crate::cmd::Command for CmdUserEdit {
7174
&& self.new_first_name.is_none()
7275
&& self.new_github.is_none()
7376
&& self.new_image.is_empty()
77+
&& self.new_is_onboarded.is_none()
7478
&& self.new_last_name.is_none()
7579
&& self.new_phone.is_none()
7680
{
@@ -86,6 +90,7 @@ impl crate::cmd::Command for CmdUserEdit {
8690
first_name: self.new_first_name.clone(),
8791
github: self.new_github.clone(),
8892
image: self.new_image.clone(),
93+
is_onboarded: self.new_is_onboarded.clone(),
8994
last_name: self.new_last_name.clone(),
9095
phone: self.new_phone.clone(),
9196
})

0 commit comments

Comments
 (0)