16 lines
850 B
Markdown
16 lines
850 B
Markdown
|
# Truth Table Builder
|
||
|
### Script to build the truth table for a given function.
|
||
|
---
|
||
|
## Installing
|
||
|
#### 1. Head over to [Release](https://github.com/TiagoRG/uaveiro-leci/releases/tag/ttb) and download the python file.
|
||
|
#### 2. Save it on any directory and then open the directory.
|
||
|
#### 3. Inside the directory, right click and choose "Open in terminal"
|
||
|
![- Unable to load image -](https://github.com/TiagoRG/uaveiro-leci/blob/master/tools/truthtable/openInTerminal.png)
|
||
|
#### 4. Run the following command:
|
||
|
`python3 truthtable.py bash`
|
||
|
#### 5. Relaunch the terminal and you will have the `truthtable` command
|
||
|
---
|
||
|
#### Use `truthtable usage` to know better how to use this tool.
|
||
|
#### If you want to change the location of the `truthtable.py` file, move it to another directory, open that directory in terminal and run
|
||
|
`python3 truthtable.py bash --reset`
|