Skip to content
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 showConfig to print out config and exit #2

Merged
merged 2 commits into from
Jul 15, 2020

Conversation

willemneal
Copy link
Collaborator

Useful for checking when making sure the config is what they expect.

@@ -333,6 +333,13 @@ exports.main = function main(argv, options, callback) {
}
}

// If showConfig print args and exit
if (args.showConfig) {
// FIXME: not a proper C-like API
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In other places this comment indicates that something will be incompatible with the compiler compiled to Wasm (with asc remaining in JS), but here it doesn't need the comment because we are not calling into the non-cli assemblyscript library (that might at one point become a Wasm module), but the data is already exclusively on the JS side of things.

@jtenner jtenner merged commit d3a347d into jtenner:asconfig Jul 15, 2020
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.

3 participants