| 1 |
say "All of DataLad's functionality is available through a single command: \`datalad\`" |
| 2 |
say "Running the datalad command without any arguments, gives a summary of basic options, and a list of available sub-commands." |
| 3 |
run "datalad" |
| 4 |
say "More comprehensive information is available via the --help long-option (we will truncate the output here)" |
| 5 |
run "datalad --help | head -n10" |
| 6 |
say "Getting information on any of the available sub commands works in the same way -- just pass --help AFTER the sub-command (output again truncated)" |
| 7 |
run "datalad create --help | head -n20" |