Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sorairolake/sysexits.jl
The system exit codes as defined by <sysexits.h> for Julia
https://github.com/sorairolake/sysexits.jl
exitcode julia julia-language julia-library julia-package julialang sysexits
Last synced: 3 days ago
JSON representation
The system exit codes as defined by <sysexits.h> for Julia
- Host: GitHub
- URL: https://github.com/sorairolake/sysexits.jl
- Owner: sorairolake
- License: other
- Created: 2023-06-01T03:17:39.000Z (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2024-09-24T19:44:57.000Z (3 days ago)
- Last Synced: 2024-09-24T22:06:47.124Z (3 days ago)
- Topics: exitcode, julia, julia-language, julia-library, julia-package, julialang, sysexits
- Language: Julia
- Homepage: https://sorairolake.github.io/Sysexits.jl/
- Size: 672 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.adoc
- Contributing: CONTRIBUTING.adoc
- License: LICENSE.APACHE
- Code of conduct: CODE_OF_CONDUCT.md
- Authors: AUTHORS.adoc
Awesome Lists containing this project
README
# Sysexits.jl
[![CI][ci-badge]][ci-url]
[![JuliaHub][juliahub-badge]][juliahub-url]
[![Stable Docs][stable-docs-badge]][stable-docs-url]
[![Dev Docs][dev-docs-badge]][dev-docs-url]**Sysexits.jl** is a library that provides the system exit code constants as
defined by [``].This library is a port of [sysexits-rs].
## Usage
To install this package:
```julia-repl
pkg> add Sysexits
```### Example
```julia
import Sysexitsstr = "abcdefgh"
try
astr = ascii(str)
println(astr)
Sysexits.exit()
catch err
showerror(stderr, err)
println(stderr)
Sysexits.exit(Sysexits.dataerr)
end
```### Documentation
See the [documentation][stable-docs-url] for more details.
## Source code
The upstream repository is available at
.The source code is also available at:
-
-## Changelog
Please see [CHANGELOG.adoc].
## Contributing
Please see [CONTRIBUTING.adoc].
## Similar projects
- (Rust)
- (Zig)You can discover more projects at
.## License
Copyright © 2023–2024 Shun Sakai (see [AUTHORS.adoc])
This library is distributed under the terms of either the _Apache License 2.0_
or the _MIT License_.This project is compliant with version 3.2 of the [_REUSE Specification_]. See
copyright notices of individual files for more details on copyright and
licensing information.[ci-badge]: https://img.shields.io/github/actions/workflow/status/sorairolake/Sysexits.jl/CI.yaml?branch=develop&style=for-the-badge&logo=github&label=CI
[ci-url]: https://github.com/sorairolake/Sysexits.jl/actions?query=branch%3Adevelop+workflow%3ACI++
[juliahub-badge]: https://img.shields.io/badge/JuliaHub-Sysexits-mediumorchid?style=for-the-badge&logo=julia
[juliahub-url]: https://juliahub.com/ui/Packages/General/Sysexits
[stable-docs-badge]: https://img.shields.io/badge/docs-stable-blue?style=for-the-badge
[stable-docs-url]: https://sorairolake.github.io/Sysexits.jl/stable/
[dev-docs-badge]: https://img.shields.io/badge/docs-dev-blue?style=for-the-badge
[dev-docs-url]: https://sorairolake.github.io/Sysexits.jl/dev/
[``]: https://man.openbsd.org/sysexits
[sysexits-rs]: https://crates.io/crates/sysexits
[CHANGELOG.adoc]: CHANGELOG.adoc
[CONTRIBUTING.adoc]: CONTRIBUTING.adoc
[AUTHORS.adoc]: AUTHORS.adoc
[_REUSE Specification_]: https://reuse.software/spec/