11---
22title : ansi gradient
33layout : command
4- version : 0.60.0
4+ version : 0.60.1
55usage : |
66 draw text with a provided start and end code making a gradient
77---
@@ -12,38 +12,34 @@ usage: |
1212
1313## Signature
1414
15- ` > ansi gradient ...column path --fgstart --fgend --bgstart --bgend `
15+ ``` > ansi gradient ...column path --fgstart --fgend --bgstart --bgend `` `
1616
1717## Parameters
1818
19- - ` ...column path ` : optionally, draw gradients using text from column paths
20- - ` --fgstart {string} ` : foreground gradient start color in hex (0x123456)
21- - ` --fgend {string} ` : foreground gradient end color in hex
22- - ` --bgstart {string} ` : background gradient start color in hex
23- - ` --bgend {string} ` : background gradient end color in hex
19+ - ` ...column path ` : optionally, draw gradients using text from column paths
20+ - ` --fgstart {string} ` : foreground gradient start color in hex (0x123456)
21+ - ` --fgend {string} ` : foreground gradient end color in hex
22+ - ` --bgstart {string} ` : background gradient start color in hex
23+ - ` --bgend {string} ` : background gradient end color in hex
2424
2525## Examples
2626
2727draw text in a gradient with foreground start and end colors
28-
2928``` shell
3029> echo ' Hello, Nushell! This is a gradient.' | ansi gradient --fgstart 0x40c9ff --fgend 0xe81cff
3130```
3231
3332draw text in a gradient with foreground start and end colors and background start and end colors
34-
3533``` shell
3634> echo ' Hello, Nushell! This is a gradient.' | ansi gradient --fgstart 0x40c9ff --fgend 0xe81cff --bgstart 0xe81cff --bgend 0x40c9ff
3735```
3836
3937draw text in a gradient by specifying foreground start color - end color is assumed to be black
40-
4138``` shell
4239> echo ' Hello, Nushell! This is a gradient.' | ansi gradient --fgstart 0x40c9ff
4340```
4441
4542draw text in a gradient by specifying foreground end color - start color is assumed to be black
46-
4743``` shell
4844> echo ' Hello, Nushell! This is a gradient.' | ansi gradient --fgend 0xe81cff
4945```
0 commit comments