Skip to content

Latest commit

 

History

History
54 lines (31 loc) · 949 Bytes

api_reference.rst

File metadata and controls

54 lines (31 loc) · 949 Bytes

API Reference

Alfred offers APIs to write commands, reuse existing commands, ... It aim to make your commands easy to read, write and maintain.

.. module:: alfred

The following methods are used to set up a command that you can use through alfred.

.. autofunction:: command

.. autofunction:: option

.. autofunction:: sh

.. autofunction:: run

.. autofunction:: invoke_command

.. autofunction:: CMD_RUNNING

.. autofunction:: pythonpath

.. autofunction:: env

.. autofunction:: prompt

.. autofunction:: confirm

.. autofunction:: is_posix

.. autofunction:: is_windows

.. autofunction:: is_linux

.. autofunction:: is_macos

.. autofunction:: project_directory

.. autofunction:: execution_directory