class Marten::CLI::Admin

Overview

The admin CLI.

The admin CLI is a wrapper around the management CLI: when used inside a Marten project, it allows to conveniently compile the management CLI in order to issue commands in order to interact with the database and the installed applications. When used outside of a Marten project, the admin CLI provides a simple way to initialize a new app or project through the use of the .new sub-command.

Defined in:

marten/cli/admin.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(options : Array(String), stdout : IO = STDOUT, stderr : IO = STDERR) #

[View source]

Instance Method Detail

def run #

[View source]