-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tui
; make port
nullable
#10
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple of things to improve.
port = "-p ${toString config.process-compose.port}"; | ||
tui = "-t=${lib.boolToString config.process-compose.tui}"; | ||
}; | ||
getCliArgs = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Naming is problematic here.
getCliArgs
== a verb (not a noun) that indicates that it is a function that will return cliArgs (whatever that is)- In reality, this variable holds a list (thus a noun) of cli arguments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code path will be impacted by #2, so I'll merge this without doing any refactor.
Resolves #9
Additionally implements extraCliArgs internal option to avoid coupling