icaoberg / singularity-chalk-cli

Terminal string styling done right

Home Page:https://github.com/chalk/chalk-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Status Status Issue forks Stars License

singularity-chalk-cli

Singularity recipe for chalk-cli.

Building the image using the recipe

To build the image locally

Run the script build.sh to build image locally.

bash ./build.sh

To build the image remotely

Run the script rbuild.sh to build image locally.

bash ./build.sh

Installing the container on Bridges (or similar)

Copy the

  • SIF file
  • and the chalk-cli script

to /opt/packages/chalk-cli/4.1.0.

Copy the file modulefile.lua to /opt/modules/chalk-cli as 4.1.0.lua.

Example

singularity exec singularity-chalk-cli-4.1.0.sif chalk -t '{red.bold Dungeons and Dragons {~bold.blue (with added fairies)}}'

Screenshot

Alternative Installation

spack install npm
spack load npm
npm install -g chalk-cli

Copyright © 2020-2023 Pittsburgh Supercomputing Center. All Rights Reserved.

icaoberg at the Pittsburgh Supercomputing Center in the Mellon College of Science at Carnegie Mellon University.

About

Terminal string styling done right

https://github.com/chalk/chalk-cli

License:Apache License 2.0


Languages

Language:Shell 43.3%Language:Lua 38.2%Language:Singularity 18.5%