diff --git a/src/cli/parseArgs.ts b/src/cli/parseArgs.ts index 4806e0db..f7a5d259 100644 --- a/src/cli/parseArgs.ts +++ b/src/cli/parseArgs.ts @@ -34,13 +34,9 @@ function convertKeysToCamelCase( ) } -// Example usage with config -// Assume config is of type IOptions - export const parseArgs = ( args: IOptionsInput ): CamelCasedProperties => { - // validate every arg, make type safe so if i add a new arg i have to validate it const parsing = optionArgsSchema.safeParse(args) if (!parsing.success) { const error = fromZodError(parsing.error) diff --git a/src/createConfig.ts b/src/createConfig.ts index 43ce7acd..3fbdfa1e 100644 --- a/src/createConfig.ts +++ b/src/createConfig.ts @@ -1,6 +1,3 @@ -// Example usage with config -// Assume config is of type IOptions - import type { IOptions } from "@alto/cli" import type { CamelCasedProperties } from "./cli/parseArgs" import type { Logger } from "pino"