Skip to content

Commit 628f0df

Browse files
author
Matt Leathes
authored
added info about creating course from tag
1 parent 15cb865 commit 628f0df

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ This command reports both the version of the CLI and the version of the Adapt fr
4747
### adapt create
4848

4949
##### Model:
50-
`adapt create [<type> <path> <branch>]`
50+
`adapt create [<type> <path> <branch|tag>]`
5151

5252
**type**: What to create. Acceptable values are `course` and `component`.
5353
**path**: The directory of the new course. Enclose in quotes if the path/name includes spaces.
54-
**branch**: The branch of the framework to be downloaded. This is optional. If not specified, the master branch will be used.
54+
**branch|tag**: The branch or tag name of the framework to be downloaded. This is optional. If not specified, the master branch will be used.
5555

5656
##### Examples:
5757

@@ -61,8 +61,12 @@ This will create a new directory named "My Course" in your current working direc
6161
`grunt build`
6262

6363
1. To create an Adapt course from a specific branch:
64-
`adapt create course "My Course" develop`
65-
This is the same as example 1 except that the framework will be downloaded from its develop branch, not from the default master branch.
64+
`adapt create course "My Course" legacy`
65+
This is the same as example 1 except that the framework will be downloaded from the 'legacy' branch, not from the default master branch.
66+
67+
1. To create an Adapt course from a specific tag:
68+
`adapt create course "My Course" v3.5.1`
69+
This is the same as example 1 except that v3.5.1 of the framework will be downloaded, rather than the master branch.
6670

6771
1. To create an empty component:
6872
`adapt create component "test-component"`

0 commit comments

Comments
 (0)