Skip to content

A nixos-friendly dice-roller for all my (and your) nerdy needs

Notifications You must be signed in to change notification settings

kurk070ff/roll-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roll-cli

A dice-roller for all my nerdy needs

Usage

You can roll any dice you want in any numbers (within the unsigned integer limit, but if you need that many dice I think you've got bigger problems)

$> roll-cli "d12" # Regular die
$> roll-cli "d7" # Not-so regular die
$> roll-cli "3d8" # Multiple dice
$> roll-cli "4d6 + d4" # Multiple dice of different types
$> roll-cli "4d6 + d4 + 3" -r # Counting the result ft. numbers 

Installation

Nix flakes

Add this into your system configuration or modify it accordingly

# flake.nix

{...}: {
  inputs = {
    roll-cli.url = "github:kurk070ff/roll-cli";
  };
  outputs = { ... }@inputs: {
     # <snip>
  }
# configuration.nix
{...}: {
  environment.systemPackages = [
    inputs.roll-cli.defaultPackage.<your-architecture>
  ];
}

About

A nixos-friendly dice-roller for all my (and your) nerdy needs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published