Philip Obiora

Results 71 comments of Philip Obiora

> mirror behaviour of tools like kubectl to allow users to pipe JSON directly into the command via stdin `cat config.json | daytona target set --stdin` so the command should...

> @Philip-21 let;s ensure that the options provided by users align with what each provider expects. > > Here's a breakdown of the steps: > > * [ ] Fetch...

> @Philip-21 ensuring that the `options` provided by users align with each provider's expectations is crucial for the reliability of the `daytona target set` command. > > **Validating User-Provided JSON...

Hello @mojafa , @Tpuljak i have implemented the commands ``` daytona target set -f /path-to-json cat /pathtojson/ | daytona target set -f - ```

> **Validating User-Provided JSON Options** focus on both `key names` and `values`: > > * Ensure that all keys in the JSON match exactly with those defined in the provider's...

### Docker ![invalid-docker](https://github.com/user-attachments/assets/7007c211-9ec6-40f9-9239-8df337cff5bd) the above is an invalid key name in the options field `sockPath`, its mean to be Sock Path ![valid-docker](https://github.com/user-attachments/assets/9def0cfc-eb94-4728-b677-c1d0426ee64f) The above is a valid docker target setup...

### GCP ![gcp-target](https://github.com/user-attachments/assets/a9dcc64f-a56c-4fa7-9c19-4eef8a5ed6b9) Here, i tested out validating the key names and values, observe the errors returned based on these validations

Here are the list of my targets, i ensured the Key names and values are correct based on the [daytona docs](https://www.daytona.io/docs/configuration/targets/#docker-local) ![alltargets](https://github.com/user-attachments/assets/9536afcf-9c5d-47f8-b58b-120d3c9ee284)