This repository has been archived by the owner on Feb 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
[v1] Document this.sao.opts
for passing variables to sao context
#124
Comments
shaunwarman
changed the title
Document
[v1] Document Mar 5, 2019
this.sao.opts
for passing variables to sao contextthis.sao.opts
for passing variables to sao context
Is this an example of what you were looking for: https://github.com/lirantal/create-node-lib/blob/master/bin/cli.js ? |
Ah more so something that shows you can pass variables to soa generator and get access to those variables in the soa context. Example
saofile.js
So if I'm looking at v1 documentation on sao generator instance it's not immediately obvious that you can pass variables in and have access to those on |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I probably missed it. But it doesn't seem obvious how to pass in variables to sao context.
My CLI tool uses
cac
for something likeAnd need to feed this value into sao context
It seems it's available on
this.sao.opts
is this documented? If not, I'll send a PR.The text was updated successfully, but these errors were encountered: