Skip to content

Commit 98f84c3

Browse files
committed
feat(cli): add documentation to main entry point
feat(composer): improve main module documentation feat(sequencer): enhance main entry point documentation These changes add helpful documentation comments to improve code clarity and understanding for developers working on these components.
1 parent 61cbee0 commit 98f84c3

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

crates/astria-cli/src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
use color_eyre::eyre;
22

3+
/// Main entry point for the Astria CLI application.
4+
/// Initializes logging and runs the CLI interface.
35
#[tokio::main]
46
async fn main() -> eyre::Result<()> {
57
tracing_subscriber::fmt()

crates/astria-composer/src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//! Main entry point for the Astria Composer service.
2+
//! Handles transaction composition and batching for the Astria network.
3+
14
use std::process::ExitCode;
25

36
use astria_composer::{

crates/astria-sequencer/src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//! Main entry point for the Astria Sequencer node.
2+
//! Handles block production and transaction sequencing for the Astria network.
3+
14
use std::process::ExitCode;
25

36
use astria_eyre::eyre::WrapErr as _;

0 commit comments

Comments
 (0)