import { BeachballOptions } from '../types/BeachballOptions' ; import { promptForChange } from '../changefile/promptForChange' ; import { writeChangeFiles } from '../changefile/writeChangeFiles' ; export async function change ( options ) { const changes = await promptForChange ( options ) ; if ( changes ) { writeChangeFiles ( { changes , cwd : options . path , commitChangeFiles : options . commit , groupChanges : options . groupChanges , } ) ; } }