Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
export default { extends: ['@commitlint/config-conventional'] }
export default {
extends: ['@commitlint/config-conventional'],
parserPreset: {
parserOpts: {
headerPattern: /^(\w+)(?:\(([^)]*)\))?(!)?:\s(.+)$/,
breakingHeaderPattern: /^(\w+)(?:\(([^)]*)\))?(!)?:\s(.+)$/,
headerCorrespondence: ['type', 'scope', 'breaking', 'subject'],
},
},
}
22 changes: 3 additions & 19 deletions docs/commands/sites.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ netlify sites
| Subcommand | description |
|:--------------------------- |:-----|
| [`sites:create`](/commands/sites#sitescreate) | Create an empty project (advanced) |
| [`sites:create-template`](/commands/sites#sitescreate-template) | (Beta) Create a project from a starter template |
| [`sites:create-template`](/commands/sites#sitescreate-template) | (Deprecated) Create a project from a starter template |
| [`sites:delete`](/commands/sites#sitesdelete) | Delete a project |
| [`sites:list`](/commands/sites#siteslist) | List all projects you have access to |

Expand Down Expand Up @@ -64,36 +64,20 @@ netlify sites:create
---
## `sites:create-template`

(Beta) Create a project from a starter template
Create a project from a starter template.
(Deprecated) Create a project from a starter template
This command has been deprecated. Use the Netlify UI to deploy from a template.

**Usage**

```bash
netlify sites:create-template
```

**Arguments**

- repository - repository to use as starter template

**Flags**

- `account-slug` (*string*) - account slug to create the project under
- `filter` (*string*) - For monorepos, specify the name of the application to run the command in
- `name` (*string*) - name of project
- `url` (*string*) - template url
- `debug` (*boolean*) - Print debugging information
- `auth` (*string*) - Netlify auth token - can be used to run this command without logging in
- `with-ci` (*boolean*) - initialize CI hooks during project creation

**Examples**

```bash
netlify sites:create-template
netlify sites:create-template nextjs-blog-theme
netlify sites:create-template my-github-profile/my-template
```

---
## `sites:delete`
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Handle various project operations
| Subcommand | description |
|:--------------------------- |:-----|
| [`sites:create`](/commands/sites#sitescreate) | Create an empty project (advanced) |
| [`sites:create-template`](/commands/sites#sitescreate-template) | (Beta) Create a project from a starter template |
| [`sites:create-template`](/commands/sites#sitescreate-template) | (Deprecated) Create a project from a starter template |
| [`sites:delete`](/commands/sites#sitesdelete) | Delete a project |
| [`sites:list`](/commands/sites#siteslist) | List all projects you have access to |

Expand Down
294 changes: 0 additions & 294 deletions src/commands/sites/sites-create-template.ts

This file was deleted.

Loading
Loading