Most used functions (aliases)

To simplify the development of plugins, we created some aliases for functions that are frequently used in the commands. Below you can find a list of a few of them, but you can check the full list in the file lib/shared/aliases.sh.

Handling arguments

  • athena.arg
  • athena.args
  • athena.nr_args_lt
  • athena.arg_exists
  • athena.pop_args
  • athena.int

Handling Filesystem

  • athena.dir_exists_or_fail
  • athena.path

Handling OS

  • athena.usage
  • athena.exit
  • athena.exit_with_msg

Handling Messages

  • athena.info
  • athena.error
  • athena.warn
  • athena.ok
  • athena.debug
  • athena.fatal
  • athena.print

Handling value types

  • athena.is_integer

results matching ""

    No results matching ""