import { context as unoContext } from './arduino-uno';

export interface Context {
  [x: string]: string;
}

interface IndexedContexts {
  [x: string]: Context;
}

const contexts = {
  'arduino-uno': unoContext
};

export const getContext = (key: string) => contexts[key];

import { context as unoContext } from './arduino-uno';

export interface Context {
  [x: string]: string;
  run_wrapper: string;
  run: string;
}

interface IndexedContexts {
  [x: string]: Context;
}

const contexts = {
  'arduino-uno': unoContext
};

export const getContext = (key: string) => contexts[key];

Add run and run_wrapper to context
Add run and run_wrapper to context
