diff --git a/toolkit.nu b/toolkit.nu index 30af921..ec6f657 100644 --- a/toolkit.nu +++ b/toolkit.nu @@ -1,4 +1,5 @@ use std repeat +use std log # NOTE: this will likely get replaced by Nupm workspaces in the future def list-modules-of-workspace []: nothing -> list { @@ -184,6 +185,7 @@ def document-command [ args: record ]: string -> string { let command = $in + log debug $"documenting command `($command)`" let command_file = $command | str replace --all ' ' '-' @@ -261,6 +263,7 @@ def document-module [ depth?: int = 0, ]: record, submodules: list> -> nothing { let module = $in + log debug $"documenting module `($module.name)`" mkdir ($module.name | path basename) cd ($module.name | path basename)