Whim::Command::query - Query command
Usage: whim query [OPTIONS] The default action is to display a list of stored webmentions, optionally filtered by the provided options. You can run other actions by providing different options, as listed below. Options: Actions: --count Return only a count of matching webmentions --list Display the current blocklist --block Add source strings (via --source) to the blocklist --unblock Remove source strings (via --source) from the blocklist Filters: Limit affected webmentions to those... --before=2020-01-01 received before this date --after=2020-01-01 received after this date --on=2020-01-01 received on this date exactly --source=example.com/foo whose source URL contains this string --not-source=example.com/bar whose source URL lacks this string --target=mysite.example/bar whose target URL contains this string
This command queries Whim's webmention database, either to display summaries of webmentions that meet criteria specified as command-line options, or to manage one's blocklist.
You can specify multiple --source or --not-source flags, as needed.
--source
--not-source
The blocklist-management stuff should really have its own command. (GitHub issue #32)
This should be able to output JSON representations of webmentions (GitHub issue #8)
whim
To install Whim, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Whim
CPAN shell
perl -MCPAN -e shell install Whim
For more information on module installation, please visit the detailed CPAN module installation guide.