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

Access CLI From globally remote or local machine #4

Open
mesadhan opened this issue Sep 20, 2019 · 6 comments
Open

Access CLI From globally remote or local machine #4

mesadhan opened this issue Sep 20, 2019 · 6 comments

Comments

@mesadhan
Copy link

Discussion about CLI feature

  • If I wan to access it globally in my local machine then what should I do?
  • and if I want to publish my won CLI globally then what should I do
@Jighdan
Copy link

Jighdan commented Jul 2, 2020

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

@tanmayc07
Copy link

@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
Copy link

Jighdan commented Jul 7, 2020

@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
Copy link

Ohh thanks for the immediate reply @Jighdan 😁!!

@Jighdan
Copy link

Jighdan commented Jul 7, 2020

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

@tanmayc07
Copy link

Worked perfectly! @Jighdan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants