Add a few basic functions for the repository
This commit is contained in:
4
geef
4
geef
@@ -14,6 +14,10 @@ main([Command|_Args]) ->
|
||||
[Object|_None] = _Rest,
|
||||
Exists = geef:object_exists(Path, Object),
|
||||
io:format("Exists: ~w~n", [Exists]);
|
||||
"repo-path" ->
|
||||
[Path|_Rest] = _Args,
|
||||
Repo = geef:repository(Path),
|
||||
io:format("Repository path: ~s~n", [geef:repository_path(Repo)]);
|
||||
_Else ->
|
||||
usage()
|
||||
end;
|
||||
|
||||
Reference in New Issue
Block a user