Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
update nitro info
Browse files Browse the repository at this point in the history
Signed-off-by: Jason McCallister <jason@craftcms.com>
  • Loading branch information
jasonmccallister committed Aug 10, 2020
1 parent b4e9a81 commit b0fd5f0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ nitro edit
### `info`
Shows the _running_ information for a machine like the IP address, memory, disk usage, and mounts.
Shows the information for a machine like the IP address and PHP version.
```shell script
nitro info [<options>]
Expand All @@ -717,17 +717,21 @@ Example:
```shell script
$ nitro info
Name: nitro-dev
State: Running
IPv4: 192.168.64.48
Release: Ubuntu 20.04 LTS
Image hash: 2f6bc5e7d9ac (Ubuntu 20.04 LTS)
Load: 0.09 0.15 0.22
Disk usage: 2.7G out of 38.6G
Memory usage: 379.8M out of 3.9G
Mounts: /Users/vin/sites/demo-site => /home/ubuntu/sites/demo-site
UID map: 501:default
GID map: 20:default
Nitro installed, ready for something incredible at 192.168.64.21.
Add a project with "nitro add <directory>".
Server Information
-------------------------
IP address: 192.168.64.21
PHP version: 7.4
Need help setting up Xdebug?
https://github.com/craftcms/nitro/blob/master/XDEBUG.md
Need help using Nitro?
https://github.com/craftcms/nitro/blob/master/README.md
```
### `init`
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var infoCommand = &cobra.Command{

// check if the machine is running, if not start it
if ip == "" {
fmt.Println("The " + machine + " is not running...")
fmt.Println("The " + machine + " machine is not running...")
if err := startCommand.RunE(cmd, args); err != nil {
return err
}
Expand Down

0 comments on commit b0fd5f0

Please # to comment.