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

Si Wollok CLI ya se encuentra en en PATH no pedir que se configure #128

Closed
PalumboN opened this issue Dec 17, 2023 · 4 comments
Closed

Si Wollok CLI ya se encuentra en en PATH no pedir que se configure #128

PalumboN opened this issue Dec 17, 2023 · 4 comments
Labels
component: commands Commands to run good first issue Good for newcomers

Comments

@PalumboN
Copy link
Contributor

Si Wollok CLI ya se encuentra en el path entonces los comandos pueden hacer directamente wollok blah y no sería necesario configurar el directorio

@PalumboN PalumboN added the component: commands Commands to run label Jan 7, 2024
@fdodino
Copy link
Contributor

fdodino commented Mar 30, 2024

@PalumboN , el tema es que

  • el ejecutable por defecto que se genera es wollok-ts-cli o wollok-ts-cli.exe
  • tendríamos que hacer algo como whereis wollok asumiendo que la persona que lo instaló renombró el ejecutable a wollok. En Windows existe el where pero me parece medio overkill para algo que puede setear un usuarie.

@PalumboN
Copy link
Contributor Author

Lo que yo tenía en mente es tener un bash install-wollok.sh que te descarga la última cli para tu SO y lo pone en un lugar específico con un nombre específico (wollok) y además lo agrega al path.

Después el IDE podría fijarse directamente ahí o tenerlo en la config cómo default.

@fdodino
Copy link
Contributor

fdodino commented Mar 30, 2024

image

Me gusta fuerte!

@PalumboN
Copy link
Contributor Author

Ahora podemos instalar wollok cli haciendo:

npm i -g wollok-ts-cli

Y ya deja el alias de wollok en la consola.

Así que podemos dejar como config por default wollok, como dice en el sition de instalación

@PalumboN PalumboN added the good first issue Good for newcomers label May 21, 2024
fdodino added a commit that referenced this issue Oct 7, 2024
fdodino added a commit that referenced this issue Oct 9, 2024
@fdodino fdodino closed this as completed in 23d326d Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: commands Commands to run good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants