-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A few attempts to improve things visually, despite the various quirks…
…. Not really the best... uncertain how to fully implement this well, but this was very valuable in my guessing: sindresorhus/ora#49 (comment)
- Loading branch information
1 parent
c1d654e
commit 3b3c6b9
Showing
3 changed files
with
31 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
const ora = require('ora'); | ||
|
||
const spinner = ora('Starting deployment...').start(); | ||
spinner.clear(); | ||
console.log("a") | ||
console.log("b") | ||
console.log("c") | ||
const anal = ora('mini-deploy').start(); | ||
anal.clear(); | ||
console.log("a") | ||
console.log("b") | ||
console.log("c") | ||
anal.succeed(); | ||
spinner.succeed(); | ||
|
||
const doot = ora('uguu').start(); | ||
console.log("f") | ||
console.log("g") | ||
console.log("gfdsgfdsgfd\n\n") | ||
doot.clear(); | ||
console.log("h") | ||
console.log("i") | ||
console.log("j") | ||
doot.succeed(); | ||
|