api.hrl 1.0 KB

1234567891011121314151617181920212223242526
  1. -define(MAD,[compile/1,app/1,get/1,man/1,dia/1,release/1,resolve/1,clean/1,
  2. start/1,attach/1,stop/1,sh/1,deps/1,up/1,fetch/1,rsa/1,ecc/1,
  3. static/1,eunit/1,strip/1]).
  4. -type return() :: [] | true | false | {ok,any()} | {error,any()}.
  5. -spec compile(list(string())) -> return().
  6. -spec app(list(string())) -> return().
  7. -spec get(list(string())) -> return().
  8. -spec release(list(string())) -> return().
  9. -spec resolve(list(string())) -> return().
  10. -spec clean(list(string())) -> return().
  11. -spec start(list(string())) -> return().
  12. -spec attach(list(string())) -> return().
  13. -spec stop(list(string())) -> return().
  14. -spec sh(list(string())) -> return().
  15. -spec deps(list(string())) -> return().
  16. -spec up(list(string())) -> return().
  17. -spec man(list(string())) -> return().
  18. -spec rsa(list(string())) -> return().
  19. -spec ecc(list(string())) -> return().
  20. -spec dia(list(string())) -> return().
  21. -spec fetch(list(string())) -> return().
  22. -spec static(list(string())) -> return().
  23. -spec eunit(list(string())) -> return().
  24. -spec strip(list(string())) -> return().