class Swarmy::CLI

Overview

Entry point that parses ARGV, resolves which Docker target to use (local, --host, or a saved --server), and dispatches to the interactive Welcome/App screens or a one-off subcommand.

Defined in:

swarmy/cli.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(docker : Docker | Nil = nil) #

Instance Method Detail

def run(argv : Array(String)) : Int32 #

Parses argv and runs the requested command, returning a process exit code.