Amethyst icon indicating copy to clipboard operation
Amethyst copied to clipboard

Feature Request: cli/terminal commands

Open ladrua opened this issue 7 years ago • 8 comments

Would be awesome if we had the posibility to bash script the functions of Amethyst :)

ladrua avatar Jun 01 '18 09:06 ladrua

It’s not an overall goal for the project, but it’s not a bad idea and would be pretty handy. This might be a good task for a contributor to take on.

ianyh avatar Jun 01 '18 12:06 ianyh

@ianyh I'd like to try. Any idea where one might start attacking this task?

Uzaaft avatar Jul 03 '22 17:07 Uzaaft

Look at main.swift for the entry point to the application. We use it for the debug info command as an example, but would probably want to use a framework for parsing command line options and such to make it more robust.

ianyh avatar Jul 03 '22 18:07 ianyh

If it's okay with you, I can use rust to write it. They already have this amazing library called clap for parsing command line options and such.

Uzaaft avatar Jul 03 '22 18:07 Uzaaft

Ah, I see what you mean there after looking at the main.swift file. I'll think about and approach and discuss it with you before I go on.

Uzaaft avatar Jul 03 '22 18:07 Uzaaft