-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontainer.ts
More file actions
29 lines (22 loc) · 791 Bytes
/
container.ts
File metadata and controls
29 lines (22 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { GenerateCommit, GetVersion, Help, Setup } from '@/commands';
import type { Providers } from '@/interfaces';
import { OpenAIProvider } from '@/providers';
import { AppUtils, EnvUtils, InputUtils, ProcessUtils } from '@/utils';
const inputUtils = new InputUtils();
const appUtils = new AppUtils();
const processUtils = new ProcessUtils(appUtils);
const envUtils = new EnvUtils(appUtils);
const providers: Providers = {
openai: new OpenAIProvider(envUtils, inputUtils, appUtils),
};
const setup = new Setup(providers, inputUtils, envUtils);
const help = new Help();
const getVersion = new GetVersion(appUtils);
const generateCommit = new GenerateCommit(
providers,
envUtils,
processUtils,
inputUtils,
appUtils,
);
export { setup, help, getVersion, generateCommit };