mirror of
https://github.com/strapi/strapi.git
synced 2025-10-16 02:26:30 +00:00
Only register the transfer command when STRAPI_EXPERIMENTAL is enabled
This commit is contained in:
parent
1ebbc5f504
commit
9f24e5cf18
@ -258,6 +258,7 @@ program
|
||||
.option('-s, --silent', `Run the generation silently, without any output`, false)
|
||||
.action(getLocalScript('ts/generate-types'));
|
||||
|
||||
if (process.env.STRAPI_EXPERIMENTAL) {
|
||||
// `$ strapi transfer`
|
||||
program
|
||||
.command('transfer')
|
||||
@ -274,6 +275,7 @@ program
|
||||
})
|
||||
.allowExcessArguments(false)
|
||||
.action(getLocalScript('transfer/transfer'));
|
||||
}
|
||||
|
||||
// `$ strapi export`
|
||||
program
|
||||
|
Loading…
x
Reference in New Issue
Block a user