DevToys icon indicating copy to clipboard operation
DevToys copied to clipboard

Add a terminal where we can execute DevToys functions

Open adrianogpena opened this issue 3 years ago • 1 comments

What's the Problem?

No response

Solution/Idea

I think it would be great if we could execute commands like Converters, Formatters and Text Diff on the terminal, using a text file insted of pasting the text. Something like this:

$ dtoy --convert --toJson file.yaml $ dtoy --convert --toYaml file.json $ dtoy --format --json file.json $ dtoy --diff file_1.txt file_2.txt

And the output would be a new file.

This is not a necessity, but I like to execute this kind of commands on the terminal, and I think it is better to add the terminal now than when there is a lot of new funtions on DevToys.

Alternatives

If the terminal commnands are not possible, I think at least we could use files on the input instead of only text by copy and paste.

Priorities

Capability Priority
This proposal will allow developers use files on the inputs Must
This proposal will allow developers execute the commands on a terminal Should

DevToys Version

Version 1.0.1.0 | X64 | RELEASE | 3f367f1 | 3f367f1

Comments

No response

adrianogpena avatar Jan 24 '22 11:01 adrianogpena

In such cases, I think it would be better to use the DevToys tools both as a CLI and through the use of the internal DevToys API.

AmiK2001 avatar Jan 24 '22 13:01 AmiK2001

Done in DevToys 2.0

veler avatar Dec 29 '23 04:12 veler