Add README, LICENSE (GPL-3), and update config dir to XDG path

Config moved to ~/.config/portainer-cli/config.yml following XDG convention.
README covers installation, configuration, all commands, container name
resolution logic, and debugging. Tool noted as AI-generated.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
grzlusandClaude Sonnet 4.6 committed 2026-03-22 15:18:27 +01:00
1 parent 56f73f72e0
commit f263088d15
3 files changed
+177 -1

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ require 'fileutils'
module PortainerCli
class Config
CONFIG_DIR = File.expand_path('~/.portainer-cli').freeze
CONFIG_DIR = File.expand_path('~/.config/portainer-cli').freeze
CONFIG_FILE = File.join(CONFIG_DIR, 'config.yml').freeze
attr_accessor :url, :token, :api_key, :ssl_verify