You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* docs: juno functions init instead of eject
Signed-off-by: David Dal Busco <david.dalbusco@outlook.com>
* 📄 Update LLMs.txt snapshot for PR review
* chore: fmt
Signed-off-by: David Dal Busco <david.dalbusco@outlook.com>
---------
Signed-off-by: David Dal Busco <david.dalbusco@outlook.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: .llms-snapshots/llms-full.txt
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2378,7 +2378,7 @@ Understand the full journey of Serverless Functions in Juno, from setup and deve
2378
2378
2379
2379
## Initial Setup
2380
2380
2381
-
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.
2381
+
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.
2382
2382
2383
2383
---
2384
2384
@@ -2513,7 +2513,7 @@ A quick reference for the most common CLI commands and deployment workflows when
2513
2513
2514
2514
| Command(s) | Scenario |
2515
2515
| --- | --- |
2516
-
| `juno functions eject` | Initializes your project for writing serverless functions. |
2516
+
| `juno functions init` | Initializes your project for writing serverless functions. |
2517
2517
| `juno emulator start` | Starts the emulator. |
2518
2518
| `juno functions build` | Compiles your custom Satellite's code. Changes are automatically redeployed locally. |
2519
2519
@@ -2938,7 +2938,7 @@ include_satellite!();
2938
2938
2939
2939
## Feature Selection
2940
2940
2941
-
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.
2941
+
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.
2942
2942
2943
2943
To do this, disable the default features in your `Cargo.toml` and explicitly specify only the ones you want to use.
2944
2944
@@ -10695,7 +10695,7 @@ Usage: juno dev wait [options]Options: -t, --timeout Timeout for the em
10695
10695
Build and upgrade your satellite's serverless functions.
10696
10696
10697
10697
```
10698
-
Usage: juno functions <subcommand> [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.
10698
+
Usage: juno functions <subcommand> [options]Subcommands: build Build your functions. initScaffold 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.
Generate the required files to begin developing serverless functions in your project.
10716
10716
10717
10717
```
10718
-
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.
10718
+
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.
Copy file name to clipboardExpand all lines: docs/build/functions/development/rust.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ include_satellite!();
22
22
23
23
## Feature Selection
24
24
25
-
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.
25
+
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.
26
26
27
27
To do this, disable the default features in your `Cargo.toml` and explicitly specify only the ones you want to use.
Copy file name to clipboardExpand all lines: docs/build/functions/lifecycle.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Understand the full journey of Serverless Functions in Juno, from setup and deve
6
6
7
7
## Initial Setup
8
8
9
-
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.
9
+
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.
10
10
11
11
---
12
12
@@ -143,7 +143,7 @@ A quick reference for the most common CLI commands and deployment workflows when
0 commit comments