Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Package as global tool #86

Open
jakenuts opened this issue Apr 14, 2023 · 1 comment
Open

Suggestion: Package as global tool #86

jakenuts opened this issue Apr 14, 2023 · 1 comment
Labels
enhancement New feature or request Long term

Comments

@jakenuts
Copy link

Thanks so much for doing this as I'm sure I'm not the only one who has had this on their mental "to-do" list for weeks.

One thing that might help in usage is if it was callable from any directory like "index-code" and "with-code" so you can move around your projects and index, act within that directory like the incredibly useful "ai-shell" from @builder.io/ai-shell. Maybe even as an extension to that project as it's already there.

If my boss wasn't looming, yes, I'd try. One day.

@hatkyinc2
Copy link
Collaborator

Hi @jakenuts,
I think if you alias the command then you can have it if I understand the ask, something like
alias autopilot='node ~/code/autopilot/ui -d $PWD'
if you add that to your ~/.profile/.bashrc/...
then every time you run autopilot it would work on that directory
and you can run it as autopilot -t "TASK" should work...

If you are on Windows OS, ask chatGPT to produce the equivalent

We could consider some future packaging as a npx package, or docker but need to do some config refactors first.
Just not on short-term priority at the moment in my mind personally, but be happy to guild people that want to take stuff on. (I know nothing of npx, but I know Docker pretty well)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Long term
Projects
Status: Ideas
Development

No branches or pull requests

2 participants