Skip to content

Commit

Permalink
new (cli.md): update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
finswimmer77@gmail.com authored and finswimmer77@gmail.com committed Feb 2, 2020
1 parent 2ae6d95 commit abe6603
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,14 @@ poetry add git+https://github.com/sdispater/pendulum.git#develop
poetry add git+https://github.com/sdispater/pendulum.git#2.0.5
```

or make them point to a local directory or file:
If the package is located within a subdirectory of a git dependency use:

```bash
poetry add git+https://github.com/demo/project_in_subdirectory.git?subdirectory=pyproject-demo
poetry add git+https://github.com/demo/project_in_subdirectory.git#develop?subdirectory=pyproject-demo
```

You can also point to a local directory or file:

```bash
poetry add ./my-package/
Expand Down

0 comments on commit abe6603

Please sign in to comment.