kedgeproject / kedge

Kedge : Simple, Concise & Declarative Kubernetes Applications
Apache License 2.0
298 stars 41 forks source link

get `ifFilesPassed` and `GetAllYAMLFiles` out of `package cmd` in `package pkg` #185

Open concaf opened 7 years ago

concaf commented 7 years ago

This is a refactoring issue resulting from https://github.com/kedgeproject/kedge/pull/166#discussion_r129756100

We need to move the non CLI argument parsing logic out of cmd and to pkg.

kadel commented 7 years ago

we will have to make whole argument handling a little bit better in general. This problem will surface once we add more arguments that require validation