Adds a new apps config that replaces the sites config option.
All commands were also updated.
Also added a global --app flag to existing commands (e.g. nitro --app myapp.nitro ssh) and removed the site arg functionality (e.g. nitro start mysite.nitro). Instead the --app flag should be used.
To update an existing config from sites to apps, make the following changes:
Before
sites:
- hostname: cloud-api.nitro
path: ~/Repositories/cloud-api
webroot: public
version: "8.0"
After
apps:
- hostname: cloud-api.nitro
path: ~/Repositories/cloud-api
webroot: public
php_version: "8.0"
Description
Adds a new
apps
config that replaces thesites
config option.All commands were also updated.
Also added a global
--app
flag to existing commands (e.g.nitro --app myapp.nitro ssh
) and removed the site arg functionality (e.g.nitro start mysite.nitro
). Instead the--app
flag should be used.To update an existing config from sites to apps, make the following changes:
Before
After
Related issues
420