Here's a sample solution to the assignment for this section:

import { execSequence } from 'https://deno.land/x/exec/mod.ts';

Deno.chdir('/Users/pjlamb12/tutorials');

const result = execSequence([
  `ng new ${Deno.args[0]} --style scss --routing`,
  `code ${Deno.args[0]}`
]);

console.log(result);

This script changes into my tutorials directory, creates a new Angular project (with the project name passed in as a command line argument), and then opens the project in VS Code.

Deno scripts can automate a lot of things for you on your computer, so if you find yourself doing something over and over again, it might be worth it to write a script that will do it for you.

 

I finished! On to the next chapter