Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Example

A terminal client for Wolfram|Alpha written in Lua, with nice pretty-printing.

How to run

Firstly, replace YOUR-API-KEY-HERE in the code by your API key, that can be obtained here.

Running lua wolfram-cli.lua --help prints the following:

ARGUMENTS:
  query       Query to Wolfram|Alpha server. (required)

OPTIONS:
  -c, --count Whether to print the count of results returned (for full
              results only).
  -f, --full  Whether to return full results.

Screenshot

Screenshot

Example of full query, with count of results.

Additional dependencies

Apart from package's dependencies, these are additional dependancies for running this package: