Open phyver opened 3 years ago
It would be nice if gsh commands returned a value: 0 for OK, or some error code.
gsh
0
The problem is that gsh check will also do a clean and an init.
gsh check
clean
init
One possibility would be to have different function used different bits in the return value:
check
test
static
goal
treasure
treasure-msg
We'll have one last bit to use for something else!
Simpler solution:
gsh static
gsh init
gsh test
gsh goal
It would be nice if
gsh
commands returned a value:0
for OK, or some error code.The problem is that
gsh check
will also do aclean
and aninit
.One possibility would be to have different function used different bits in the return value:
check
init
test
static
goal
treasure
treasure-msg
We'll have one last bit to use for something else!