implement adding users

This commit is contained in:
Artur Gurgul1 2025-08-07 17:36:47 +02:00
parent 0f9f1a84f9
commit bc0f9db31d
4 changed files with 34 additions and 5 deletions

View file

@ -29,13 +29,14 @@ module Make
class Context
attr_accessor :name, :use_cache, :environment, :steps, :packages, :repository
attr_accessor :target, :archive, :source_type, :version
attr_accessor :target, :archive, :source_type, :version, :forced
def initialize(options: OpenStruct.new)
@target = options.target || :user
@name = options.name
@use_cache = options.use_cache || false
@forced = options.forced || false
#System.detect_os
# rbenv: brew install rbenv && rbenv install 3.0.0