flamapy / flamapy_fw

This repository hosts the main components of flamapy
4 stars 5 forks source link

Develop a famapy command #53

Closed pabpazjim closed 2 years ago

pabpazjim commented 2 years ago

Make pip install famapy also install a shell famapy command so users can directly run operations through it.

jagalindo commented 2 years ago

@Virako this would mean that we can direcly run from bash, something like:

famapy Valid "pathToFile";

jagalindo commented 2 years ago

This issue can be seen twofold. But here we mean to have an alias en the terminal to execute easily the shell command when needed.

Virako commented 2 years ago

Create alias for hug -f famapy/endpoint/diverso-lab.py and we should have command similar to famapy_admin.py Try to merge inside famapy_admin.py

jagalindo commented 2 years ago

I'm reopening this issue. Currently, the command is just a hug wrapper that is OS dependent. The whole idea is to have a shell entry point. To achieve that we should rely only on python code so its cross-OS compatible.

This task aims also at unifying the files famapy_admin and famapy_cmd, so we only have a command to interface with the tool.

jagalindo commented 2 years ago

Tested the current version when used without venv and it fails to find the correct path of the file

Virako commented 2 years ago

Estimated time: 3 hours Estimated completion date: 02/06/2022