sharkdp / shell-functools

Functional programming tools for the shell
MIT License
1.2k stars 49 forks source link

Categorize (and document) functions #10

Open sharkdp opened 6 years ago

sharkdp commented 6 years ago

We could add new decorators:

@category("filesystem")
@help("Returns the absolute path")
@register("abspath")
@typed(T_PATH, T_PATH)
def abspath(inp):
  ...