refactor: ♻️ repurpose Cli class to Configs

Renamed Cli to ConfigsProcessor, now the Cli class is purposed to just
parsing the cli arguments and orchestrate other classes
This commit is contained in:
Guz013
2023-08-03 18:33:58 -03:00
parent c201a25e6e
commit e775d83ccf
6 changed files with 193 additions and 144 deletions

11
pnpm-lock.yaml generated
View File

@@ -124,6 +124,9 @@ importers:
'@types/node':
specifier: ^20.4.2
version: 20.4.2
'@types/prompts':
specifier: ^2.4.4
version: 2.4.4
packages/config:
dependencies:
@@ -891,6 +894,13 @@ packages:
resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==}
dev: true
/@types/prompts@2.4.4:
resolution: {integrity: sha512-p5N9uoTH76lLvSAaYSZtBCdEXzpOOufsRjnhjVSrZGXikVGHX9+cc9ERtHRV4hvBKHyZb1bg4K+56Bd2TqUn4A==}
dependencies:
'@types/node': 20.4.2
kleur: 3.0.3
dev: true
/@types/pug@2.0.6:
resolution: {integrity: sha512-SnHmG9wN1UVmagJOnyo/qkk0Z7gejYxOYYmaAwr5u2yFYfsupN3sg10kyzN8Hep/2zbHxCnsumxOoRIRMBwKCg==}
dev: true
@@ -2507,7 +2517,6 @@ packages:
/kleur@3.0.3:
resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==}
engines: {node: '>=6'}
dev: false
/kleur@4.1.5:
resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==}