Skip to content

kirillgrachoff/ciface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ciface

Library for random success/fail emoji

Library Installation

  • Install the package
zig fetch --save git+https://github.com/kirillgrachoff/ciface
  • Add the package in build.zig
const ciface = b.dependency("ciface", .{});
exe.root_module.addImport("ciface", ciface.module("ciface"));
  • Import in your project
const ciface = @import("ciface");

Usage

var rand: std.Random = ...;
ciface.getSuccess(rand) // -> Happy face
ciface.getFail(rand)    // -> Sad face

ciface.faces.success // happy faces
ciface.faces.fail    // sad faces

Binary

./ciface

NO_COLOR support

This binary supports NO_COLOR

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages