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

Mejoras para el wollok init #107

Closed
fdodino opened this issue Oct 25, 2023 · 1 comment
Closed

Mejoras para el wollok init #107

fdodino opened this issue Oct 25, 2023 · 1 comment
Labels
componente: init Inicialización de un proyecto enhancement New feature or request good first issue Good for newcomers

Comments

@fdodino
Copy link
Contributor

fdodino commented Oct 25, 2023

Al crear un proyecto nuevo debería

  • tomar el primer argumento como el nombre de la carpeta
  • adentro se genera un example o el segundo argumento que podría ser el nombre del archivo sin la extensión wlk
  • crear un test vacío en otro archivo
  • crear el package.json
  • y el archivo de github para el CI

Ejemplo:

wollok-ts-cli init tp-vacunapp

Debería armar

+ tp-vacunapp
   -  package.json
   -  example.wlk
   -  exampleTest.wtest (por ahora, a futuro sería example.test.wlk)

En cambio

wollok-ts-cli init tp-vacunapp vacunas

Debería armar

+ tp-vacunapp
   -  package.json
   -  vacunas.wlk
   -  vacunasTest.wtest (por ahora, a futuro sería vacunas.test.wlk)
@fdodino fdodino added enhancement New feature or request componente: init Inicialización de un proyecto good first issue Good for newcomers labels Oct 25, 2023
@fdodino fdodino mentioned this issue Nov 5, 2023
15 tasks
@fdodino
Copy link
Contributor Author

fdodino commented Nov 21, 2023

Se implementó solo que con las opciones -p para el proyecto y -n para el nombre del example

$ wollok-ts-cli init -h
Usage: wollok init [options]

Create a new Wollok project

Options:
  -p, --project [filter]  path to project (default: "/home/dodain/workspace/wollok-dev/wollok-workspace/pruebita")
  -n, --name [name]       name of the example

@fdodino fdodino closed this as completed Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
componente: init Inicialización de un proyecto enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant