Duplicate a track
Save time.
This guide explains how to duplicate a track.
Duplicating a track can save you development time and it takes the following steps:
🌐 Web UI
💻 Instruqt CLI
- 1.
- 2.Clickon the track you want to duplicate, followed by Duplicate track. ↳ The Duplicate track pop-up opens.
- 3.In the Track title field, enter a title for the new track.
- 4.In the Track slug field, enter a unique slug within your team for the new track.
- 5.If you are a member of multiple teams on Instruqt, the Select team list is part of the pop-up. If so, select the desired team in the Select team list.
- 6.Click Create. ↳ The duplicated track appears at the top of your My content page.
- 1.Open a terminal and move into the directory where you maintain your tracks.
- 2.Enter the following command:instruqt track create --from TEAM/TRACK_SLUG --title "YOUR_TITLE"⇨ Replace
TEAM
,TRACK_SLUG
, andYOUR_TITLE
with your values. ↳ Instruqt CLI copies the track. The output looks something like this:==> Finding track by slug: TEAM/TRACK_SLUG_TRACK_TO_COPY_FROM==> Creating new track files:TRACK_SLUG_NEW_TRACK├── 01-CHALLENGE_SLUG│ ├── assignment.md│ ├── check-container│ ├── cleanup-container│ ├── setup-container│ └─ ─ solve-container├── 02-CHALLENGE_SLUG│ ├── assignment.md│ ├── check-container│ ├── cleanup-container│ ├── setup-container│ └── solve-container├── config.yml└── track.ymlOK
Last modified 10d ago