nstaldev/nstal

Input fields and context

Opened this issue · 0 comments

It could be possible to ask user for input. For example, suppose we write an nstaller to setup Google Analytics in a web app. The first step would be to ask the reader to create a Google Analytics property and get its code (eg. GA-12345). Following nstal actions will need this code, for example to write it in a .env file.

This feature suppose two things:

  • An input action, kind of.
  • A nstal context all actions could access. For example, the input action could write a variable named gaCode and later an action could read it back to write it to a file.

This feature partially addresses point 1 of #2