Skip to content

Adding --app-chain option to skip TTY requirement when using madara run#31

Open
guillheu wants to merge 1 commit intokarnotxyz:mainfrom
guillheu:main
Open

Adding --app-chain option to skip TTY requirement when using madara run#31
guillheu wants to merge 1 commit intokarnotxyz:mainfrom
guillheu:main

Conversation

@guillheu
Copy link

The madara run command will prompt the user to select an app chain to run from the terminal.
However, when using the command without a TTY, such as with a systemctl service, the command fails and the app chain does not run.

This PR adds a --app-chain <CHAIN_NAME> option to the madara run command, which bypasses the manual app chain selection when provided, allowing execution of the madara run command in environments without a TTY.

@guillheu
Copy link
Author

Could someone please review this? I think this is an important feature to help run karnot in a service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant