Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
Deprecate eject-method flag
Browse files Browse the repository at this point in the history
  • Loading branch information
brentvatne committed Mar 20, 2020
1 parent 1b49128 commit 172a79c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/expo-cli/src/commands/eject.ts
@@ -1,4 +1,5 @@
import { Command } from 'commander';
import terminalLink from 'terminal-link';
import * as Eject from './eject/Eject';

// Set EXPO_VIEW_DIR to universe/exponent to pull expo view code locally instead of from S3
Expand All @@ -14,7 +15,10 @@ export default function(program: Command) {
)
.option(
'--eject-method [type]',
'Eject method to use. If not specified, the command will ask which one to use. Required when using the --non-interactive option. expokit, plain',
`Eject method to use. [Depreacted]: always ejects to ${terminalLink(
'bare workflow.',
'https://docs.expo.io/versions/latest/introduction/managed-vs-bare/#bare-workflow'
)}`,
value => value.toLowerCase()
)
.option(
Expand Down

0 comments on commit 172a79c

Please sign in to comment.