Skip to content

Access CLI From globally remote or local machine  #4

Description

@mesadhan

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

Activity

  1. reinnyalmonte commented on Jul 2, 2020

    @reinnyalmonte

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

  2. tanmayc07 commented on Jul 7, 2020

    @tanmayc07

    @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.

  3. reinnyalmonte commented on Jul 7, 2020

    @reinnyalmonte

    @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.

  4. tanmayc07 commented on Jul 7, 2020

    @tanmayc07

    Ohh thanks for the immediate reply @Jighdan 😁!!

  5. reinnyalmonte commented on Jul 7, 2020

    @reinnyalmonte

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

  6. tanmayc07 commented on Jul 7, 2020

    @tanmayc07

    Worked perfectly! @Jighdan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions