Skip to content

Commit

Permalink
no need for these comments
Browse files Browse the repository at this point in the history
  • Loading branch information
plusminushalf committed Oct 13, 2024
1 parent af372d9 commit 7073558
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions src/cli/parseArgs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,9 @@ function convertKeysToCamelCase<T extends IOptions>(
)
}

// Example usage with config
// Assume config is of type IOptions

export const parseArgs = (
args: IOptionsInput
): CamelCasedProperties<IOptions> => {
// 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)
Expand Down
3 changes: 0 additions & 3 deletions src/createConfig.ts
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 7073558

Please sign in to comment.