Is there a preferred idiom in Julia to match the equivalent Python:
if __name__ == '__main__':
run_like_a_command()
else:
be_a_module()I tried searching, but apparently am not hitting the right keywords. Maybe my terminology is incorrect. Thanks, and sorry if this is obvious.
