The csv-view command is a popular feature, but typing the hyphen (-) can be annoying for some users. We want to support both csv-view and csvview as valid commands.
- Open trushell/config/builtin_commands.md.
- Find the existing entry for csv-view:
{cmd: csv-view}; "run_csv_view()"; [trushell.commands.data];
- Add a new line immediately after it for the alias:
{cmd: csvview}; "run_csv_view()"; [trushell.commands.data];
This improves user experience by allowing natural typing habits. It’s a simple change that makes the shell feel more forgiving and intuitive.
The
csv-viewcommand is a popular feature, but typing the hyphen (-) can be annoying for some users. We want to support bothcsv-viewandcsvviewas valid commands.{cmd: csv-view}; "run_csv_view()"; [trushell.commands.data];{cmd: csvview}; "run_csv_view()"; [trushell.commands.data];This improves user experience by allowing natural typing habits. It’s a simple change that makes the shell feel more forgiving and intuitive.