Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 831 Bytes

README.md

File metadata and controls

40 lines (33 loc) · 831 Bytes

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>
  ];
}