keyshade-xyz / keyshade

Realtime secret and configuration management tool, with the best in class security and seamless integration support
https://keyshade.xyz
Mozilla Public License 2.0
134 stars 73 forks source link

CLI: Parse `profile create` input using zod #361

Open rajdip-b opened 1 month ago

rajdip-b commented 1 month ago

Description

https://github.com/keyshade-xyz/keyshade/blob/4bd12f0b7b1f0dc601cf661cdae3ba27c1d45354/apps/cli/src/commands/profile/create.profile.ts#L70-L93

After we have taken the input from the users, we would like to validate the data using zod.

Validation types

sujal-sakpal commented 1 month ago

Hi , I’d like to take on the task of integrating input validation with Zod. I’ll define validation schemas for each input field, use zod to ensure the data meets our criteria, and then integrate this into our parseInput function. Could you please assign this to me?

rajdip-b commented 1 month ago

Sure thing @sujal-sakpal! All the best.

Do not hesitate to ping us in here or in over Discord in case you run into any issues :D

manasveer6 commented 1 month ago

/attempt

github-actions[bot] commented 1 month ago

Assigned the issue to @manasveer6!