eclipse-iceoryx / iceoryx2

Eclipse iceoryx2™ - true zero-copy inter-process-communication in pure Rust
https://iceoryx.io
Apache License 2.0
1.03k stars 40 forks source link

CLI for displaying the full system configuration #432

Open elfenpiff opened 1 month ago

elfenpiff commented 1 month ago

Brief feature description

The file iceoryx2-bb/posix/src/system_configuration.rs provides the interface to the configuration of all system resources and a print_system_configuration() function to show them. Now, since iox2 is finally here, we should remove the function print_system_configuration() and move it into an iox2-config command to show the config from the command line.

  1. Make a binary called iox2-config in the crate iceoryx2-cli
  2. Make a verb show to show the currently used configuration
  3. Make a verb generate that generates a default configuration file in the default location that iceoryx2 looks for it
elfenpiff commented 1 month ago

cc @orecham maybe you can provide a bit more details what steps one has to make and also provide a name suggestion directly in the issue description.

orecham commented 1 month ago

@elfenpiff Made a rough plan, the implementer can take some creative liberties though, if they have ideas that make more sense