Closed pabpazjim closed 2 years ago
@Virako this would mean that we can direcly run from bash, something like:
famapy Valid "pathToFile";
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.
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
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.
Tested the current version when used without venv and it fails to find the correct path of the file
Estimated time: 3 hours Estimated completion date: 02/06/2022
Make pip install famapy also install a shell famapy command so users can directly run operations through it.