Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evaporei/wiki
wikipedia query CLI
https://github.com/evaporei/wiki
Last synced: 15 days ago
JSON representation
wikipedia query CLI
- Host: GitHub
- URL: https://github.com/evaporei/wiki
- Owner: evaporei
- Created: 2023-07-25T22:16:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-21T22:53:22.000Z (about 1 year ago)
- Last Synced: 2024-10-10T20:19:54.822Z (about 1 month ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wiki
Example: https://en.wikipedia.org/wiki/Walrus
## Dependencies
- jq
- xmllint## Simple
```bash
$ wiki walrus
The walrus (Odobenus rosmarus) is a large pinniped marine mammal with discontinuous distribution about the North Pole in the Arctic Ocean and subarctic seas of the Northern Hemisphere.sections:
- Etymology
- Taxonomy and evolution
- Anatomy
- Toggle Anatomy subsection
- Life history
- Toggle Life history subsection
- Ecology
- Toggle Ecology subsection
- Relationship with humans
- Toggle Relationship with humans subsection
- See also
- References
- Further reading
- External links
```## With section
```bash
$ wiki walrus anatomy
While some outsized Pacific males can weigh as much as 2,000 kg (4,400 lb), most weigh between 800 and 1,700 kg (1,800 and 3,700 lb).subsections:
- Tusks and dentition
- Vibrissae (whiskers)
- Skin
```## Stretch goal
```bash
$ wiki walr[tab] # completes to walrus$ wiki walrus anat[tab] # completes to anatomy
```