enum Inquirer::Protocol::Command

Overview

Represents Inquirer server command.

Commands are used to make the server fetch or do something.

Defined in:

inquirer/protocol.cr

Enum Members

Die = 0

Stops the daemon and the server.

Ping = 1

Checks whether the server is running and whetber it is the correct server.

Repo = 2

Returns the repository.

Commands = 3

Returns all commands of the server.

Ps = 2048

Lists N directories out of those that are currently watched.

Add = 2049

Adds a program to the repository given an abolute path to the source file of the program.

Unperson = 2050

Removes all mentions of the given source file from the repository.

FilesFor = 2051

Returns which files to run in order to load the given distinct.

Instance Method Summary

Instance Method Detail

def add? #

[View source]
def commands? #

[View source]
def die? #

[View source]
def files_for? #

[View source]
def ping? #

[View source]
def ps? #

[View source]
def repo? #

[View source]
def takes_argument? #

Returns whether this command takes an argument.


[View source]
def unperson? #

[View source]