-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cli): introduce first CLI command: domain-dump (#360)
* WIP Introduce domain-dump CLI command * feat(cli): introduce first CLI command: domain-dump * fix a couple Sonar cloud issues * Add error handling to CLI bootstrap call * fix issue with test output data path * refactor basedon PR (#360) * use hard-wired test datafile name * tweak test file output name
- Loading branch information
1 parent
8d84ad1
commit a8baae6
Showing
11 changed files
with
5,956 additions
and
25,844 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { CommandFactory } from 'nest-commander'; | ||
import { CoscradCliModule } from './coscrad-cli/coscrad-cli.module'; | ||
import { InternalError } from './lib/errors/InternalError'; | ||
|
||
async function bootstrapCli() { | ||
await CommandFactory.run(CoscradCliModule); | ||
} | ||
|
||
bootstrapCli().catch((err) => { | ||
throw new InternalError(`Failed to bootstrap COSCRAD CLI: ${err}`); | ||
}); |
Oops, something went wrong.