Closed igorpecovnik closed 1 week ago
This switch to stable repository and we can skip the prompt in machine mode. One way it would be to move this from command to new field
good idea implemented prompt
example:
"prompt": "This will open /boot/armbianEnv.txt file to edit\nCTRL+S to save\nCTLR+X to exit\nwould you like to continue?",
When we are running in CLI mode it would be desirable to have a switch to execute command without confirmation prompt.
Example: sudo bin/armbian-configng --cli S11
The only issue I see here is --cli
flag may be misleading, --cli
is TUI
or simple mode
--api is intended for "cli mode" or "advanced mode" passing command line arguments in a direct manner to avoid the nesting involved with the UI
flag may be misleading
Yes ofc. What about: --cmd or nothing? just -S11 ?
When we are running in CLI mode it would be desirable to have a switch to execute command without confirmation prompt.
Example:
sudo bin/armbian-configng --cli S11
This switch to stable repository and we can skip the prompt in machine mode. One way it would be to move this from command to new field
"prompt": [ "This will open interface file to edit\nCTRL+S to save\nCTLR+X to exit\nwould you like to continue?"
which we don't execute in CLI mode or if additional switch is used.