Add option to use/import JSON profile from CLI #570

Open
opened 2020-01-15 22:35:27 +01:00 by vinc · 0 comments
vinc commented 2020-01-15 22:35:27 +01:00 (Migrated from github.com)

It'd be really useful to have a command option to use or import a JSON profile from the command line when launching cool-retro-term on a system that don't have a mouse. And even with a mouse, that option could automate the process.

Ideally --profile should be able to take a JSON directly, but another option like --import-profile foo.json would work too, although there's a potential for confusion: should the profile then be used in the invoked session or not?

I use a script to launch qemu from cool-retro-term -e sh -c qemu -display curses after reading https://github.com/Swordfish90/cool-retro-term/issues/119 to understand how to use the -e option but I'm stuck regarding the profile.

It seems that I could modify the sqlite2 db directly in the meantime but I haven't explored that yet.

Anyway, thanks for that awesome term <3

It'd be really useful to have a command option to use or import a JSON profile from the command line when launching `cool-retro-term` on a system that don't have a mouse. And even with a mouse, that option could automate the process. Ideally `--profile` should be able to take a JSON directly, but another option like `--import-profile foo.json` would work too, although there's a potential for confusion: should the profile then be used in the invoked session or not? I use a [script](https://github.com/vinc/moros/tree/master/run) to launch `qemu` from `cool-retro-term -e sh -c qemu -display curses` after reading https://github.com/Swordfish90/cool-retro-term/issues/119 to understand how to use the `-e` option but I'm stuck regarding the profile. It seems that I could modify the sqlite2 db directly in the meantime but I haven't explored that yet. Anyway, thanks for that awesome term <3
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seeseemelk/cool-retro-term#570
No description provided.