-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Zoey de Souza Pessanha
committed
Jul 24, 2023
1 parent
7597b68
commit 3f85e09
Showing
3 changed files
with
16 additions
and
64 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
ExUnit.start() | ||
|
||
defmodule MyCLITest do | ||
use Nexus | ||
|
||
defcommand :test, type: :string | ||
|
||
@impl true | ||
def version, do: "0.0.0" | ||
|
||
@impl true | ||
def handle_input(:test, args) do | ||
args | ||
end | ||
|
||
Nexus.parse() | ||
end |