import { logWarn } from './splog' ; export function signpostDeprecatedCommands ( command ) { switch ( command ) { case 'stacks' : logWarn ( [ 'The command "stacks" has been deprecated.' , 'Please use "log short" aka "ls" instead to see your stacks, or "branch checkout" aka "bco" for an interactive checkout.' , 'Thank you for bearing with us while we rapidly iterate!' , ] . join ( '\n' ) ) ; process . exit ( 1 ) ; } }