mirror of
https://github.com/ArthurSonzogni/Diagon.git
synced 2026-08-29 08:34:44 +08:00
Update README.md > Add an entry about the CLI
This fixes :https://github.com/ArthurSonzogni/Diagon/issues/8
This commit is contained in:
@@ -19,6 +19,7 @@ Application.
|
||||
* [Frame](#frame)
|
||||
* [Table](#table)
|
||||
* [Planar graph](#planar-graph)
|
||||
* [Command line interface](#command-line-interface)
|
||||
* [Thanks](#thanks)
|
||||
|
||||
# Generators
|
||||
@@ -351,13 +352,26 @@ Output (Unicode)
|
||||
└────┘
|
||||
~~~
|
||||
|
||||
#### Universal Linux package:
|
||||
[](https://snapcraft.io/diagon)
|
||||
[](https://build.snapcraft.io/user/ArthurSonzogni/Diagon)
|
||||
[](https://snapcraft.io/diagon)
|
||||
# Command line interface
|
||||
|
||||
Diagon is also usable as a command line tool.
|
||||
For instance:
|
||||
```bash
|
||||
echo ""1+1/2 + sum(i,0,10) = 112/2" | diagon Math
|
||||
10
|
||||
___
|
||||
1 ╲ 112
|
||||
1 + ─ + ╱ i = ───
|
||||
2 ‾‾‾ 2
|
||||
0
|
||||
```
|
||||
To use it, you can either compile it from source or use the precompiled binaries published on the snapstore:
|
||||
~~~bash
|
||||
sudo snap install diagon
|
||||
~~~
|
||||
[](https://snapcraft.io/diagon)
|
||||
[](https://snapcraft.io/diagon)
|
||||
|
||||
|
||||
# Thanks
|
||||
|
||||
|
||||
Reference in New Issue
Block a user