get_params

Function get_params 

Source
pub fn get_params() -> Result<(String, i32, PathBuf), MissingSourceDirectoryError>
Expand description

§Get source directory, port and IP address from command line arguments

Retrieve command line arguments which can be used as source directory, startup port and IP address.

Source directory is mandatory.

Defaults:

  • IP address: “::”
  • port : 8080