Skip to content

Add utility function to convert a CondNode into a CommandNode#18

Open
gkapetanakis wants to merge 2 commits intobinpash:mainfrom
gkapetanakis:fork2
Open

Add utility function to convert a CondNode into a CommandNode#18
gkapetanakis wants to merge 2 commits intobinpash:mainfrom
gkapetanakis:fork2

Conversation

@gkapetanakis
Copy link
Copy Markdown

Before my previous PR bash tests were parsed as CommandNodes.
This function easily allows converting CondNodes into CommandNodes, in case an application using this library prefers this form.
Tests are added as well.

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