You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -62,6 +63,7 @@ There are two ways you can use the CLI Changer script.
62
63
63
64
* Text based user interface (TUI).
64
65
* Command line interface (CLI).
66
+
* Session mode
65
67
66
68
### Text Based User Interface (TUI)
67
69
@@ -128,6 +130,31 @@ Following execution, an exit code will be given:
128
130
129
131
**Tip:** Calling scripts via the command line is common during (automated) development, testing and deployment. EG: Incorporate it into your build files...
130
132
133
+
### Command Line Interface (CLI) - Session Mode
134
+
135
+
Should you have the need to temporarily change the PHP version number within the open command window (session) only and not across the whole system (multiple sessions) then you should use the `--temp` option.
The short command line option `-t` can also be used in place of `--temp`.
148
+
149
+
**Note:** Enclosing the script path in quotes if it contains spaces and knowing the available PHP CLI version(s) in advance is still required.
150
+
151
+
Following execution, an exit code will be given:
152
+
153
+
-`0` - Success
154
+
-`1` - Failure
155
+
156
+
**Tip:** Calling scripts via the command line is common during (automated) development, testing and deployment. EG: Incorporate it into your build files...
157
+
131
158
## FAQ's
132
159
133
160
### What are environment path variables and how do they work?
0 commit comments