Skip to content

Bayu12345677/library_colorama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • library colorama

cara menggunakan

source colorama
biru=$(bold biru)

if curl -s google.com 2>/dev/null 1>/dev/null; then {
      printf "%shalo bumi" ${biru}
   }
fi

sesuaikan patch makefile di terminal anda

PATCH = </patch/usr/bin/>
  • setup

make install

  • uninstall

make uninstall

  • *list*
bold mode
normal mode
stop, break color

how use

bold =! bold biru

  • example
#!/bin/bash

source colorama

bold=$(bold merah)
normal=$(normal biru)
stop=$(stop)

printf "%sHalo manusia %sbumi${stop}" ${bold} ${normal}

: '
color list :
|_____________________|
|        hitam        |
|        merah        |
|        hijau        |
|        biru         |
|        kuning       |
|        pink         |
|        cyan         |
|        putih        |
=======================
'
  • me social media

  • t