-
Notifications
You must be signed in to change notification settings - Fork 30
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 Godbolt Command #77
base: master
Are you sure you want to change the base?
Conversation
Im all for adding a godbolt command but there are additional changes lumped into this PR. If you would like to see the godbolt command added please make a PR adding just that functionality. |
Did you run |
@@ -148,6 +149,35 @@ fn app() -> Result<(), Error> { | |||
}); | |||
} | |||
|
|||
cmds.add("?godbolt flags={} version={} ```\ncode```", |args| { |
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.
I would prefer to not use a closure here unless its necessary. Please move these into a fn and pass the fn pointer here instead.
Depends on #90