0.1.0 ⢠Published 4 years ago
@codedungeon/laravel-versions-cli v0.1.0
Introduction
Laravel Versions CLI provides a simple cli interface to laravel version information provided by Laravel Versions Website
Installation
Using npm
> npm install -g @codedungeon/laravel-versions-cliUsing yarn
> yarn add global @codedungeon/laravel-versions-cliUsage
Laravel Versions CLI can be executed using laravel-versions-cli or lv. For more information, please refer to the options section below
Note: You may have an existing lv alias in your bash aliases which could override the lv alias
> laravel-versions-cli infoor using lv alias
> lv infoOptions
š§ laravel-versions-cli vX.X.X build XX
Crafted with love by Mike Erickson ((https://github.com/mikeerickson))
š info
Get version information for all Laravel projects
Usage:
laravel-versions-cli info <options>
Options:
--versions, -s Versions (multiple separate with comma) [default: v5, v6, v7, v8]
--limit, -l Limit number of returned items [default: 4 last major releases]
--showFuture, -f Show Future Releases [default: true]
Examples:
laravel-versions-cli info
laravel-versions-cli info --versions 8
laravel-versions-cli info --product laravel --limit 5
laravel-versions-cli info --product laravel,lumen
laravel-versions-cli info --listFlags
| Flag | Alias | Type | Description | Default |
|---|---|---|---|---|
| versions | s | string | which version(s) you wish to show (values separated by comma) | all versions |
| limit | l | number | limits number of returned rows (not including future releases) | 4 |
| show-future | f | boolean | show future releases | true |
Examples
Show only versions 7 and 8
> laravel-versions-cli info --versions 7,8Show only last 4 major major
> laravel-versions-cli info --limit 4Show only last 10 releases
> laravel-versions-cli info --limit 10Don't inlcude future releases
> laravel-versions-cli info --show-future falseLicense
Copyright Ā© 2021 Mike Erickson Released under the MIT license
Credits
laravel-versions-cli written by Mike Erickson
E-Mail: codedungeon@gmail.com
Issues: https://github.com/mikeerickson/laravel-versions-cli
Twitter: @codedungeon
Website: codedungeon.io