#exit #integer #utf-8 #cli #i32 #choice #exit-code

app exit-with-code

一个返回您选择退出码的命令行界面

1 个稳定版本

1.0.0 2022年1月19日

#1726文本处理

Apache-2.0 OR MIT

8KB
86

退出代码(EWC)- 命令行界面

概述

ewc 1.0.0
Martijn Gribnau <[email protected]>

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

许可协议

许可协议为以下之一

任选其一。

贡献

除非您明确声明,否则您有意提交给作品以包含在内的任何贡献,根据Apache-2.0许可证定义,应如上所述双许可,不附加任何额外条款或条件。

无运行时依赖