hide-org / hide

🤖 Headless IDE for AI agents
https://hide.sh
MIT License
112 stars 5 forks source link

cmd/hide/main: use cobra to run hide #71

Closed aleh-null closed 1 month ago

aleh-null commented 1 month ago

TODO:

--help and --version flags are enabled, version only prints some mock information

artmoskvin commented 1 month ago

With the current project layout, the paths become a bit weird, e.g. hide/cmd/hide/pkg/cmd. I think we can simplify it by separating hide/cmd and hide/pkg. In the hide/cmd package we'll have everything related to commands and in hide/pkg all the internal stuff as we have now. By the way, we can rename it into internal because I don't think we plan for it to be used externally.