Skip to content

Commit

Permalink
top* cmd help formatting fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
synrg committed Sep 14, 2024
1 parent e29425b commit b17e6ab
Showing 1 changed file with 18 additions and 20 deletions.
38 changes: 18 additions & 20 deletions inatcog/commands/obs.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,13 @@ async def top_identifiers(self, ctx, *, query: Optional[TaxonReplyConverter]):
• See `[p]query` and `[p]taxon_query` for help with *query* terms.
e.g.
`[p]topids bees`
→ Top identifiers by number of bee observations they identified for others
`[p]topids in prj arthropod ecology`
→ Top identifiers by number of observations they identified for others in the Arthropod Ecology in Action project
`[p]topids arthropods from nova scotia`
→ Top identifiers by number of arthropod observations they identified for others from Nova Scotia
```
[p]topids bees
-> Top identifiers by number of bee observations they identified for others
[p]topids in prj arthropod ecology
-> Top identifiers by number of observations they identified for others in the Arthropod Ecology in Action project
[p]topids arthropods from nova scotia
-> Top identifiers by number of arthropod observations they identified for others from Nova Scotia
""" # noqa: E501
await self._tabulate_query(ctx, query, view="ids")

Expand All @@ -219,13 +219,12 @@ async def top_observers(self, ctx, *, query: Optional[TaxonReplyConverter]):
• See `[p]query` and `[p]taxon_query` for help with *query* terms.
e.g.
```
[p]topobs bees
-> Top observers by observation count of bees
[p]topobs in prj arthropod ecology
-> Top observers by observation count of observations in the Arthropod Ecology in Action project
[p]topobs arthropods from nova scotia
-> Top observers by observation count of arthropods from Nova Scotia
`[p]topobs bees`
→ Top observers of bees
`[p]topobs in prj arthropod ecology`
→ Top observers in the Arthropod Ecology in Action project
`[p]topobs arthropods from nova scotia`
→ Top observers of arthropods from Nova Scotia
""" # noqa: E501
await self._tabulate_query(ctx, query)

Expand All @@ -238,13 +237,12 @@ async def top_species(self, ctx, *, query: Optional[TaxonReplyConverter]):
• See `[p]query` and `[p]taxon_query` for help with *query* terms.
e.g.
```
[p]topspp bees
-> Top observers by species count of bees
[p]topspp in prj arthropod ecology
-> Top observers by species count of observations in the Arthropod Ecology in Action project
[p]topspp arthropods from nova scotia
-> Top observers by species count of arthropods from Nova Scotia
`[p]topspp bees`
→ Top observers by spp of bees
`[p]topspp in prj arthropod ecology`
→ Top observers by spp in Arthropod Ecology in Action project
`[p]topspp arthropods from nova scotia`
→ Top observers by spp of arthropods from NS
""" # noqa: E501
await self._tabulate_query(ctx, query, view="spp")

Expand Down

0 comments on commit b17e6ab

Please sign in to comment.