trstringer / pycli

:computer: Basic structure for a simple Python CLI
110 stars 29 forks source link

Access CLI From globally remote or local machine #4

Open mesadhan opened 5 years ago

mesadhan commented 5 years ago

Discussion about CLI feature

Jighdan commented 4 years ago

You should definitely check out PyPi then https://packaging.python.org/tutorials/packaging-projects/

tanmayc07 commented 4 years ago

@Jighdan Can you specify it in few steps for such CLI's? I just want to be able to use the app globally in my local computer without publishing.

Jighdan commented 4 years ago

@tanmayc07 So if you follow the file structure from this repo, just:

    $ cd YOUR-PROJECT
    $ pip install -e .

Once you do that you should be able to call your project from anywhere in the command line.

tanmayc07 commented 4 years ago

Ohh thanks for the immediate reply @Jighdan 😁!!

Jighdan commented 4 years ago

@tanmayc07 Of course! Let me know how it goes :-)

tanmayc07 commented 4 years ago

Worked perfectly! @Jighdan