Skip to content

Commit

Permalink
log commands
Browse files Browse the repository at this point in the history
  • Loading branch information
codekeyz committed Jul 10, 2024
1 parent 87eeefe commit 69348d2
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ class CreateProjectFromTemplate extends BaseGlobeCommand {
List<String> args, {
String? processWorkingDir,
}) async {
final command = 'git ${args.join(' ')}';

var info = 'Executing command: $command';
if (processWorkingDir != null) info += ' in dir: $processWorkingDir';
logger.detail(info);

final result = await Process.run(
'git',
args,
Expand Down

0 comments on commit 69348d2

Please sign in to comment.