Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdelapenya/endoflife
eol provides a CLI to interact with the endoflife.date API
https://github.com/mdelapenya/endoflife
Last synced: about 8 hours ago
JSON representation
eol provides a CLI to interact with the endoflife.date API
- Host: GitHub
- URL: https://github.com/mdelapenya/endoflife
- Owner: mdelapenya
- Created: 2023-03-08T09:44:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-03-09T16:03:48.000Z (over 1 year ago)
- Last Synced: 2024-06-21T19:54:17.834Z (3 months ago)
- Language: Go
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eol
`eol` stands for "End of Life".
It is a CLI tool to query the [endoflife.date API][endoflife_api_url], which provides information about the end of life of various software.
## Commands and subcommands
### `products`
The `products` command is used to query the [endoflife.date API][endoflife_api_url] and retrieve the list of all the products it supports. The list is obtained from the endoflife.date API `All Products` endpoint.
```bash
eol products
```### `get`
The `get` command is used to query the [endoflife.date API][endoflife_api_url] and retrieve the end of life for all the releases for a specific software, identified by its product name. The product name is passed in the `--product` flag, and it's obtained from the endoflife.date API `All Products` endpoint.
```bash
eol get --product "go"
```In the case you want to retrieve the version whose end of life has not finished, you can pass the release name in the `--supported` flag.
```bash
eol get --product go --supported
```If you do not know the name of the product you are looking for, you can use an interactive mode that will retrieve all the products from the [endoflife.date API][endoflife_api_url], presenting a prompt to select one of them.
```bash
eol get --interactive
```[endoflife_api_url]: https://endoflife.date/docs/api