Skip to content

PopArtDesign/joomla-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

joomla-version

CI

Bash script to detect the version of a Joomla! installation.

Installation

Just download the script to a directory in your $PATH. For example:

wget https://raw.githubusercontent.com/PopArtDesign/joomla-version/refs/heads/main/joomla-version \
    -O ~/.local/bin/joomla-version && chmod +x ~/.local/bin/joomla-version

Usage

joomla-version [options] [<path>]

Arguments

  • <path>: Optional path to the Joomla! installation directory. Defaults to the current directory.

Options

  • -l, --long: Print the long version string, including codename, release date, etc.
  • -h, --help: Show the help message and exit.

Examples

# Get the short version string
joomla-version /path/to/joomla
4.1.0

# Get the long version string
joomla-version --long /path/to/joomla
Joomla! 4.1.0 Stable [ Amani ] 21-February-2022 16:00 GMT

License

Copyright (c) Voronkovich Oleg. Distributed under the MIT.

About

Prints used version of Joomla!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages