Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
open-source
vvv-aliases
Commits
c5a746cb
Commit
c5a746cb
authored
Mar 31, 2020
by
Erick Hitter
Browse files
Consistency
parent
b0ae5f20
Pipeline
#2303
passed with stage
in 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
c5a746cb
...
...
@@ -28,13 +28,13 @@ Run WP-CLI commands within Vagrant, returning the result before exiting the VM.
Usage:
```
bash
user
@MacBook:~/vvv/www/wordpress/public_html/wp-content
$
wp option get home
bob
@MacBook:~/vvv/www/wordpress/public_html/wp-content
$
wp option get home
cd
/srv/www/wordpress/public_html/wp-content
;
wp option get home
https://www.wordpress.test
Connection to 127.0.0.1 closed.
user
@MacBook:~/vvv/www/wordpress/public_html/wp-content
$
bob
@MacBook:~/vvv/www/wordpress/public_html/wp-content
$
```
Note that if a command requires access to a file, the file must exist within the VM and the command must reference the file using its path within the VM.
...
...
@@ -48,7 +48,7 @@ Switch to the current directory within the VM.
Usage:
```
bash
user
@MacBook:~/vvv/www/wordpress/public_html/wp-content
$
vcd
bob
@MacBook:~/vvv/www/wordpress/public_html/wp-content
$
vcd
vagrant@vvv:/srv/www/wordpress/public_html/wp-content
$
wp option
set test
--format
=
json
'{"1":true,"2":false}'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment