Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename show to print #101

Merged
merged 3 commits into from
Nov 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ SimpleWorkflows = "6a97d125-85da-4b66-b300-4bba10360563"

[compat]
AbInitioSoftwareBase = "0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9"
Comonicon = "0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 1"
Comonicon = "0.12, 1"
EquationOfStateRecipes = "0.1"
EquationsOfStateOfSolids = "0.2, 0.3, 0.4"
Express = "0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9"
Expand Down
4 changes: 2 additions & 2 deletions docs/src/public.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ The first-order commands are

```
xps
├── show
├── print
└── run
└── graph
```

The usage are

```@docs
show
print
run
graph
```
Expand Down
2 changes: 1 addition & 1 deletion src/ExpressCommands.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Print the `file` in a pretty format.

- `file`: the file to be printed. Available extensions are `.jld2`, `.json`, `.yaml`, `.yml` or `.toml`.
"""
@cast function show(file)
@cast function print(file)
ext = lowercase(extension(file))
if ext == "jld2"
pprint(JLD2.load(file))
Expand Down