You can use npx to install and run the package
option | description | default value | required | examples |
---|---|---|---|---|
-l | adds a trailing newline to fix vertical alignment | false | false | -l |
-m | makes the gradient horizontal | false | false | -lm |
-t theme |
changes the theme (themes list) | 'rainbow' | false | -lt |
--from color |
gradient's start color | null | false | --from, --to |
--to color |
gradient's end color | null | false | --from, --to |
One of gradient-string's built-in gradients listed below.