Sha256: fa2409159bb4d9f4b7ec413d05d0220939edf662ffa979c10811e9998efe65a6
Contents?: true
Size: 638 Bytes
Versions: 5
Compression:
Stored size: 638 Bytes
Contents
# frozen_string_literal: true require_relative "ui" require_relative "../version" module NeetoDeploy class CLI NEETO_DEPLOY_HOST = ENV["NEETO_DEPLOY_HOST"] || "https://app.neetodeploy.com" NEETO_DEPLOY_CLI_API_BASE_URL = "#{NEETO_DEPLOY_HOST}/api/cli/#{CLI_API_VERSION}" CLI_CONFIG_DIR = "~/.config/neetodeploy".freeze CLI_SESSION_STORE_FILE_PATH = File.expand_path("#{CLI_CONFIG_DIR}/auth.json").freeze class Base attr_reader :ui def initialize @ui = CLI::UI.new end def create_config_dir FileUtils.mkdir_p(File.expand_path(CLI_CONFIG_DIR)) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems