import { ExtensionContext } from 'vscode' ; import { registerAPICommands } from './api/api1' ; import { GitBaseExtensionImpl } from './api/extension' ; import { Model } from './model' ; export function activate ( context ) { const apiImpl = new GitBaseExtensionImpl ( new Model ( ) ) ; context . subscriptions . push ( registerAPICommands ( apiImpl ) ) ; return apiImpl ; }