Skip to content

📦Swift Package for overwriting and erasing ⌫ Output

Notifications You must be signed in to change notification settings

Aniket965/Eraser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eraser ⌫

Swift Package for Erasing and overwriting the previous output in terminal.


Build Status

⚙️ Installation

import PackageDescription

let package = Package(
    name: "MyPackage",
    dependencies: [
        .package(url: "http://github.com/aniket965/Eraser.git", from: "1.0.1")
    ],
    targets: [
        .target(
            name: "MyPackage",
            dependencies: ["Eraser"]
        )
    ]
)

đź“— Usage

import Darwin
import Eraser

print("swift")

// Erases After 1 Second
sleep(1)
erase()
print("Swift ❤️")