exit-with-code

Crates.ioexit-with-code
lib.rsexit-with-code
version1.0.0
sourcesrc
created_at2022-01-19 22:10:26.77997
updated_at2022-01-19 22:10:26.77997
descriptionA CLI which returns the exit code of your choice
homepage
repository
max_upload_size
id517106
size21,669
Martijn Gribnau (foresterre)

documentation

README

Exit With Code (EWC) - CLI

Overview

ewc 1.0.0
Martijn Gribnau <garm@ilumeo.com>

Returns the exit code, provided by you as the first argument, unless:
* Too many or too few arguments were given
* The argument could not be parsed as UTF-8
* The argument could not be parsed as an integer (i32)
* Platform specific behaviour, such as the maximum accepted range of integers, interfered with the
  execution behaviour of the program

When the program fails with an unexpected error, as above, it will output a message to stderr,
and exit with exit code 255. The program will not write to stderr in case of successful execution
of the program. NB: A non-zero exit code on its own does not indicate failure for this program.

Usage:
ewc [EXIT_CODE]

Args:
EXIT_CODE   The exit code which this program will return

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 0

cargo fmt