mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 11:55:24 +02:00
swipl: add page (#7433)
This commit is contained in:
parent
bfb88a35e1
commit
2cda6e81cb
1 changed files with 24 additions and 0 deletions
24
pages/common/swipl.md
Normal file
24
pages/common/swipl.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# swipl
|
||||
|
||||
> SWI-Prolog - A comprehensive free Prolog environment.
|
||||
> More information: <https://www.swi-prolog.org/>.
|
||||
|
||||
- Start an interactive session:
|
||||
|
||||
`swipl`
|
||||
|
||||
- Execute a command without showing any output:
|
||||
|
||||
`swipl --quiet -t "{{command}}"`
|
||||
|
||||
- Execute a script:
|
||||
|
||||
`swipl {{path/to/file.pl}}`
|
||||
|
||||
- Print all shell configuration variables:
|
||||
|
||||
`swipl --dump-runtime-variables`
|
||||
|
||||
- Print the version:
|
||||
|
||||
`swipl --version`
|
Loading…
Add table
Reference in a new issue