You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently is only possible to use the flag/2 macro inside a defcommand/2 or subcommand/2 macro.
This should be valid too:
defmoduleMyCLIdouseNexus.CLIflag:versiondoshort:vdescription"Shows the version of the program"end@implNexus.CLIdefhandle_input(:version,%{value: true})doIO.puts(version())endend
The text was updated successfully, but these errors were encountered:
Currently is only possible to use the
flag/2
macro inside adefcommand/2
orsubcommand/2
macro.This should be valid too:
The text was updated successfully, but these errors were encountered: