From e1c017abe17763f724a1672226c8a48418ad6a32 Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Sun, 19 Apr 2026 13:05:20 +0200 Subject: [PATCH 1/3] docs: juno functions init instead of eject Signed-off-by: David Dal Busco --- docs/build/functions/development/rust.mdx | 2 +- docs/build/functions/lifecycle.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/build/functions/development/rust.mdx b/docs/build/functions/development/rust.mdx index 7b6fec2b..12168ba7 100644 --- a/docs/build/functions/development/rust.mdx +++ b/docs/build/functions/development/rust.mdx @@ -22,7 +22,7 @@ include_satellite!(); ## Feature Selection -When you run `juno functions eject`, all the available hooks and assertions are scaffolded in your `lib.rs` module. However, if you don’t have to implement all of them for example to improve readability or reduce unnecessary logic, you can selectively enable only the features you need. +When you run `juno functions init`, all the available hooks and assertions are scaffolded in your `lib.rs` module. However, if you don’t have to implement all of them for example to improve readability or reduce unnecessary logic, you can selectively enable only the features you need. To do this, disable the default features in your `Cargo.toml` and explicitly specify only the ones you want to use. diff --git a/docs/build/functions/lifecycle.md b/docs/build/functions/lifecycle.md index 933ad44c..acf57ddd 100644 --- a/docs/build/functions/lifecycle.md +++ b/docs/build/functions/lifecycle.md @@ -6,7 +6,7 @@ Understand the full journey of Serverless Functions in Juno, from setup and deve ## Initial Setup -If you didn’t use a template or skipped the language selection during setup, you can run `juno functions eject` at the root of your project. This command configures your project with the appropriate setup based on your language of choice. For Rust, it includes a `Cargo.toml` and a `lib.rs` file. For TypeScript, it sets up an `index.ts` file. +If you didn’t use a template or skipped the language selection during setup, you can run `juno functions init` at the root of your project. This command configures your project with the appropriate setup based on your language of choice. For Rust, it includes a `Cargo.toml` and a `lib.rs` file. For TypeScript, it sets up an `index.ts` file. --- @@ -143,7 +143,7 @@ A quick reference for the most common CLI commands and deployment workflows when | Command(s) | Scenario | | ---------------------- | ------------------------------------------------------------------------------------ | -| `juno functions eject` | Initializes your project for writing serverless functions. | +| `juno functions init` | Initializes your project for writing serverless functions. | | `juno emulator start` | Starts the emulator. | | `juno functions build` | Compiles your custom Satellite's code. Changes are automatically redeployed locally. | From 0b03bc4114c25dc7b6cccbf693fbd3848b22a55d Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 19 Apr 2026 11:07:24 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=93=84=20Update=20LLMs.txt=20snapshot?= =?UTF-8?q?=20for=20PR=20review?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .llms-snapshots/llms-full.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.llms-snapshots/llms-full.txt b/.llms-snapshots/llms-full.txt index ef551013..63f102c8 100644 --- a/.llms-snapshots/llms-full.txt +++ b/.llms-snapshots/llms-full.txt @@ -2378,7 +2378,7 @@ Understand the full journey of Serverless Functions in Juno, from setup and deve ## Initial Setup -If you didn’t use a template or skipped the language selection during setup, you can run `juno functions eject` at the root of your project. This command configures your project with the appropriate setup based on your language of choice. For Rust, it includes a `Cargo.toml` and a `lib.rs` file. For TypeScript, it sets up an `index.ts` file. +If you didn’t use a template or skipped the language selection during setup, you can run `juno functions init` at the root of your project. This command configures your project with the appropriate setup based on your language of choice. For Rust, it includes a `Cargo.toml` and a `lib.rs` file. For TypeScript, it sets up an `index.ts` file. --- @@ -2513,7 +2513,7 @@ A quick reference for the most common CLI commands and deployment workflows when | Command(s) | Scenario | | --- | --- | -| `juno functions eject` | Initializes your project for writing serverless functions. | +| `juno functions init` | Initializes your project for writing serverless functions. | | `juno emulator start` | Starts the emulator. | | `juno functions build` | Compiles your custom Satellite's code. Changes are automatically redeployed locally. | @@ -2938,7 +2938,7 @@ include_satellite!(); ## Feature Selection -When you run `juno functions eject`, all the available hooks and assertions are scaffolded in your `lib.rs` module. However, if you don’t have to implement all of them for example to improve readability or reduce unnecessary logic, you can selectively enable only the features you need. +When you run `juno functions init`, all the available hooks and assertions are scaffolded in your `lib.rs` module. However, if you don’t have to implement all of them for example to improve readability or reduce unnecessary logic, you can selectively enable only the features you need. To do this, disable the default features in your `Cargo.toml` and explicitly specify only the ones you want to use. @@ -10695,7 +10695,7 @@ Usage: juno dev wait [options]Options: -t, --timeout Timeout for the em Build and upgrade your satellite's serverless functions. ``` -Usage: juno functions [options]Subcommands: build Build your functions. eject Scaffold the necessary files for developing your serverless functions. init Alias for eject. publish Publish a new version of your functions. upgrade Upgrade your satellite's serverless functions.Notes:- The local server supports live reloading.- You can use fn as a shortcut for functions. +Usage: juno functions [options]Subcommands: build Build your functions. init Scaffold the necessary files for developing your serverless functions. publish Publish a new version of your functions. upgrade Upgrade your satellite's serverless functions.Notes:- The local server supports live reloading.- You can use fn as a shortcut for functions. ``` --- @@ -10715,7 +10715,7 @@ Usage: juno functions build [options]Options: -l, --lang Specify the Generate the required files to begin developing serverless functions in your project. ``` -Usage: juno functions eject [options]Options: -l, --lang Specify the language for building the serverless functions: rust, typescript or javascript. -h, --help Output usage information.Notes:- Language can be shortened to rs for Rust, ts for TypeScript and mjs for JavaScript. +Usage: juno functions init [options]Options: -l, --lang Specify the language for building the serverless functions: rust, typescript or javascript. -h, --help Output usage information.Notes:- Language can be shortened to rs for Rust, ts for TypeScript and mjs for JavaScript. ``` --- From 8abbd6dc55b14ec262c4cd5e25d4bc546ff28aad Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Sun, 19 Apr 2026 13:10:18 +0200 Subject: [PATCH 3/3] chore: fmt Signed-off-by: David Dal Busco --- docs/build/functions/lifecycle.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/build/functions/lifecycle.md b/docs/build/functions/lifecycle.md index acf57ddd..9a53859b 100644 --- a/docs/build/functions/lifecycle.md +++ b/docs/build/functions/lifecycle.md @@ -143,7 +143,7 @@ A quick reference for the most common CLI commands and deployment workflows when | Command(s) | Scenario | | ---------------------- | ------------------------------------------------------------------------------------ | -| `juno functions init` | Initializes your project for writing serverless functions. | +| `juno functions init` | Initializes your project for writing serverless functions. | | `juno emulator start` | Starts the emulator. | | `juno functions build` | Compiles your custom Satellite's code. Changes are automatically redeployed locally. |