Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
litespeed_wiki:cpanel:cli-lscwp-management [2019/07/01 18:10] Michael Alegre [Command-Line Interface - LiteSpeed Cache For WordPress Management] Updated script help page to match v1.7 help output. |
litespeed_wiki:cpanel:cli-lscwp-management [2020/01/03 19:33] Michael Alegre [Command-Line Interface - LiteSpeed Cache For WordPress Management] Updated help page content to that in v1.9 of the lcsmctl script. |
||
---|---|---|---|
Line 11: | Line 11: | ||
<code> | <code> | ||
- | LiteSpeed Cache Manager CLI Tool v1.7 | + | LiteSpeed Cache Manager CLI Tool v1.9 |
- | | + | |
- | | + | |
- | Usage: ./lscmctl [-php path/to/php] command [flag/parameter] | + | Usage: ./lscmctl [-php path/to/php] command [flag/parameter] |
- | | + | |
- | | + | |
- | Possible Commands: | + | Possible Commands: |
- | | + | |
- | setcacheroot [-svr <cache root>] [-vh <cache root>] | + | setcacheroot [-svr <cache root>] [-vh <cache root>] |
- | List/Set server and/or virtual host cache roots. This command will list the | + | List/Set server and/or virtual host cache roots. This command will list the |
- | current server and virtual host cache roots when no additional input is given. | + | current server and virtual host cache roots when no additional input is given. |
- | Use -svr and -vh to set those cache roots. The '$' character is not allowed | + | Use -svr and -vh to set those cache roots. The '$' character is not allowed |
- | when setting virtual host cache root. Virtual host cache root values starting | + | when setting virtual host cache root. Virtual host cache root values starting |
- | with a '/' will automatically have '/$vh_user' appended to the end (this format | + | with a '/' will automatically have '/$vh_user' appended to the end (this format |
- | was chosen to maintain compatibility with CageFS). | + | was chosen to maintain compatibility with CageFS). |
- | | + | |
- | setversion [{--list | --latest | <version>}] | + | setversion [{--list | --latest | <version>}] |
- | List/Set active LSCWP version. This command will list the currently active | + | List/Set active LSCWP version. This command will list the currently active |
- | version when no additional input is given. Use --list to show available | + | version when no additional input is given. Use --list to show available |
- | versions or --latest to switch to the latest available version. A valid version | + | versions or --latest to switch to the latest available version. A valid version |
- | number can also be provided to switch to that version specifically. This must | + | number can also be provided to switch to that version specifically. This must |
- | be set before performing other lscmctl operations. | + | be set before performing other lscmctl operations. |
- | | + | |
- | scan [-n] [-e] | + | scan [-n] [-e] |
Scan for all WordPress installations. This command will create an lscm.data | Scan for all WordPress installations. This command will create an lscm.data | ||
file under the "lsws/admin/lscdata" directory. Add the -n flag to only discover | file under the "lsws/admin/lscdata" directory. Add the -n flag to only discover | ||
Line 100: | Line 100: | ||
file containing a newline separated list of installation info in the expected | file containing a newline separated list of installation info in the expected | ||
format. | format. | ||
+ | |||
+ | --update-lib | ||
+ | Update the lscmctl script and the required shared library to their latest | ||
+ | versions. | ||