mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-21 08:31:33 +03:00
f3c97390ee
- only adds a name if user is already logged in - if not, puts [AUTHOR] as it was previously - before publishing author field is checked in Leo.toml and better error message returned
10 lines
254 B
Bash
Executable File
10 lines
254 B
Bash
Executable File
$LEO new hello-world
|
|
ls -la
|
|
cd hello-world && ls -la
|
|
|
|
# verify that in Leo.toml there's a placeholder for author
|
|
# because at the time of calling `leo new` user is not logged in
|
|
[[ $(cat Leo.toml | grep "\[AUTHOR\]" | wc -l) -eq 1 ]] || exit 1
|
|
|
|
$LEO run
|