Unverified Commit 79986e05 authored by Sébastien Eustace's avatar Sébastien Eustace
Browse files

Update README

parent 4b628910
Loading
Loading
Loading
Loading
+24 −1
Changes for README.md: 24 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -233,12 +233,35 @@ poetry update requests toml

### 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
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