title | description |
---|---|
Netlify CLI sites command |
Manage Netlify sites via the command line |
Handle various site operations The sites command will help you manage all your sites
Usage
netlify sites
Subcommand | description |
---|---|
sites:create |
Create an empty site (advanced) |
sites:list |
List all sites you have access to |
Examples
netlify sites:create --name my-new-site
netlify sites:list
Create an empty site (advanced)
Create a blank site that isn't associated with any git remote. Does not link to the current working directory.
Usage
netlify sites:create
Flags
name
(option) - name of siteaccount-slug
(option) - account slug to create the site underwith-ci
(boolean) - initialize CI hooks during site creationmanual
(boolean) - Force manual CI setup. Used --with-ci flag
List all sites you have access to
Usage
netlify sites:list
Flags
json
(boolean) - Output site data as JSON