Commit 79986e05 by Sébastien Eustace

Update README

parent 4b628910
...@@ -233,12 +233,35 @@ poetry update requests toml ...@@ -233,12 +233,35 @@ poetry update requests toml
### add ### add
The `add` command adds new packages to the `poetry.toml` file from the current directory. The `add` command adds required packages to your `poetry.toml` and installs them.
If you do not specify a version constraint,
poetry will choose a suitable one based on the available package versions.
```bash ```bash
poetry add requests pendulum poetry add requests pendulum
``` ```
#### Options
* `--D|dev`: Add package as development dependency.
* `--optional` : Add as an optional dependency.
### remove
The `remove` command removes a package from the current
list of installed packages
```bash
poetry remove pendulum
```
#### Options
* `--D|dev`: Removes a package from the development dependencies.
* `--dry-run` : Outputs the operations but will not execute anything (implicitly enables --verbose).
### package ### package
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment