add ansi strip subcommand (#3095)

* add ansi subcommand

* changed example test, added additional test
This commit is contained in:
Darren Schroeder
2021-02-23 14:16:13 -06:00
committed by GitHub
parent 7a77910720
commit 57ebec385f
5 changed files with 132 additions and 4 deletions

View File

@ -111,6 +111,7 @@ pub fn create_default_context(interactive: bool) -> Result<EvaluationContext, Bo
whole_stream_command(StrScreamingSnakeCase),
whole_stream_command(BuildString),
whole_stream_command(Ansi),
whole_stream_command(AnsiStrip),
whole_stream_command(Char),
// Column manipulation
whole_stream_command(Move),