From df89dd3dfa18c6a74309564d1fb73a0d87e257f6 Mon Sep 17 00:00:00 2001 From: Glenn Date: Sun, 4 Aug 2024 22:58:09 +0200 Subject: [PATCH] feat: start implementing MappingCreate --- src/commands/mapping_create.cr | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/commands/mapping_create.cr b/src/commands/mapping_create.cr index 1e3ec6f..8b8999f 100644 --- a/src/commands/mapping_create.cr +++ b/src/commands/mapping_create.cr @@ -2,11 +2,15 @@ require "./abstract_command" module GX::Commands class MappingCreate < AbstractCommand - def initialize(config : GX::Config) # FIXME + def initialize(@config : GX::Config) # FIXME + @config.load_from_env + @config.load_from_file + @file_system_manager = FileSystemManager.new(@config) end def execute # FIXME: implement + puts "mapping create yo!" end def self.handles_mode