Repository navigation
CLI Flag port
Manech Dubreil edited this page Oct 21, 2026
·
1 revision
Status: ✅ Implemented (#44)
Port the server listens on. Server mode only.
transf-orm --serveur --port 8080
transf-orm --serveur --port 0 # any free port- Default:
3000. -
0lets the OS pick any free port. - Requires
--serveur:transf-orm --port 0prints an error and exits with status 2. -
--ip <address>and--host <host>are planned with #91.
-
ServerArgsincrates/server/src/lib.rs(#[arg(long, default_value_t = 3000, requires = "serveur")]). Flattened into the binary's parser so--helplists it. - Test:
conflicting_modes_exit_with_2incrates/transf-orm/tests/dispatch.rs.
← CLI
|
Manech DUBREIL dmanech@gmail.com |
Timéo TRÉGAROT timeo.tregarot@epitech.eu |
Aymeric JOUANNET-MIMY aymeric.jouannet-mimy@epitech.eu |
Esteban BOUYAULT-MIMY esteban.bouyault-yvanez@epitech.eu |
Arthur DRAHY arthur.drahy@epitech.eu |