hide-org / hide

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

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

Closed aleh-null closed 2 months ago

aleh-null commented 2 months ago

TODO:

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

artmoskvin commented 2 months 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.