Purpose
To accumulate your walkthroughs to accomplish your common tasks with less effort.
How to:
Add A Walkthrough
- @
/src/Walkghroughs/
create a file named asWTR_{YourJobName}
- Copy the following code to the file created
import { IWalkthrough } from "./_Foundation/IWalkthrough";
import { RegisterWalkthrough } from "./_Foundation/_Walkghrough";
@RegisterWalkthrough()
export class WTR\_{YOUR_JOB_NAME} implements IWalkthrough
{
text = 'Fun >> Wallpapers >> Grap Spotlight wallpapers';
async execAsync()
{
console.warn('toooooooooooooooooot Wallpapers')
}
}
- import your module in /src/Walkthroughs/index.ts
Publish
Just run the script
npm run push