Skip to content

Commit

Permalink
docs: add notes about optional CLI packages
Browse files Browse the repository at this point in the history
  • Loading branch information
alycejenni committed Oct 30, 2024
1 parent e63eaf4 commit 7638bb2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ Path variables used below:

```shell
pip install ckanext-attribution
# to use the CLI as well:
pip install ckanext-attribution[cli]
```

## Installing from source
Expand All @@ -112,6 +114,8 @@ pip install ckanext-attribution
3. Install via pip:
```shell
pip install $INSTALL_FOLDER/src/ckanext-attribution
# to use the cli as well:
pip install $INSTALL_FOLDER/src/ckanext-attribution[cli]
```

### Installing in editable mode
Expand Down Expand Up @@ -352,6 +356,8 @@ toolkit.get_action('agent_external_read')({}, data_dict)

## Commands

**NB**: you will have to install the optional `[cli]` packages to use several of these commands.

### `initdb`
```shell
ckan -c $CONFIG_FILE attribution initdb
Expand Down

0 comments on commit 7638bb2

Please sign in to comment.