diff --git a/.goreleaser.yaml b/.goreleaser.yaml index e3d5e31..32d5929 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,5 +1,5 @@ --- -project_name: check_hm +project_name: hmcli builds: - env: @@ -54,18 +54,17 @@ archives: - goos: windows format: zip files: - - Icinga2_basket.json - - "*.md" - - LICENSE - - src: check_hm_config.yaml - dst: check_hm.yaml - strip_parent_binary_folder: true + - Icinga2_basket.json + - "*.md" + - LICENSE + - src: hmcli_config.yaml + dst: hmcli.yaml nfpms: - id: packages # dont use {{ .ProjectName }} here :( - package_name: check_hm + package_name: hmcli file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" # builds: license: GPL-3 @@ -73,13 +72,15 @@ nfpms: vendor: Tommi2Day maintainer: "Tommi2Day " description: |- - Tool and Nagios/Icinga check plugin for Homematic/Raspberrymatic based on XMLAPI AddOn + Query Tool and Nagios/Icinga check plugin for Homematic/Raspberrymatic with XMLAPI formats: - rpm - deb # dependencies: provides: # dont use {{ .ProjectName }} here :( + - hmcli + replaces: - check_hm contents: - src: "*.md" @@ -88,22 +89,22 @@ nfpms: dst: /usr/share/doc/{{ .ProjectName }}/Icinga2_basket.json - src: LICENSE dst: /usr/share/doc/{{ .ProjectName }}/LICENSE - - src: check_hm_config.yaml - dst: /usr/share/doc/{{ .ProjectName }}/check_hm.yaml - - src: check_hm_config.yaml - dst: /etc/nagios-plugins/config/check_hm.yaml + - src: hmcli_config.yaml + dst: /usr/share/doc/{{ .ProjectName }}/hmcli.yaml + - src: hmcli_config.yaml + dst: /etc/nagios-plugins/config/hmcli.yaml type: config - - src: /usr/lib/nagios/plugins/check_hm - dst: /usr/bin/check_hm + - src: /usr/lib/nagios/plugins/hmcli + dst: /usr/bin/hmcli type: "symlink" release: github: owner: tommi2day - name: check_hm + name: hmcli replace_existing_draft: true draft: true header: | - ## Check_HM Release {{ .Tag }} ({{ time "2006-01-02" }}) + ## hmcli Release {{ .Tag }} ({{ time "2006-01-02" }}) target_commitish: '{{ .Commit }}' diff --git a/CHANGELOG.md b/CHANGELOG.md index 44bd8f8..837c848 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ -# Changelog check_hm +# Changelog hmcli + +## [v1.2.0 - 2024-06-22] +### Changed +- renamed from check_hm to hmcli +- update dependencies ## [v1.1.1 - 2024-05-25] ### Changed diff --git a/Icinga2.md b/Icinga2.md index 05ac70c..190526a 100644 --- a/Icinga2.md +++ b/Icinga2.md @@ -1,6 +1,6 @@ # Icinga2 configuration -These are simple examples how to use the check_hm plugin with Icinga2. +These are simple examples how to use the hmcli plugin with Icinga2. ## Definitions @@ -16,17 +16,17 @@ for your convenience, a icinga director basket is available [here](Icinga2_baske ```conf object CheckCommand "hm" { import "plugin-check-command" - command = [ PluginDir + "/check_hm" ] + command = [ PluginDir + "/hmcli" ] arguments += { "(no key)" = { - description = "check_hm command" + description = "hmcli command" order = 1 required = true skip_key = true value = "$hm_command$" } "(no key.2)" = { - description = "check_hm Subcommand" + description = "hmcli Subcommand" order = 2 skip_key = true value = "$hm_subcommand$" diff --git a/Icinga2_basket.json b/Icinga2_basket.json index c05dc82..15558aa 100644 --- a/Icinga2_basket.json +++ b/Icinga2_basket.json @@ -3,14 +3,14 @@ "hm": { "arguments": { "(no key)": { - "description": "check_hm command", + "description": "hmcli command", "required": true, "skip_key": true, "value": "$hm_command$", "order": "1" }, "(no key.2)": { - "description": "check_hm Subcommand", + "description": "hmcli Subcommand", "skip_key": true, "value": "$hm_subcommand$", "order": "2" @@ -58,7 +58,7 @@ "value": "$hm_warning$" } }, - "command": "check_hm", + "command": "hmcli", "fields": [ { "datafield_id": 113, @@ -164,31 +164,31 @@ "settings": { "visibility": "visible" }, - "category": "check_hm" + "category": "hmcli" }, "111": { "uuid": "f06ee85b-9e8b-4e7b-a559-b950c92e0929", "varname": "hm_command", "caption": "hm_command", - "description": "check_hm sub command", + "description": "hmcli sub command", "datatype": "Icinga\\Module\\Director\\DataType\\DataTypeString", "format": null, "settings": { "visibility": "visible" }, - "category": "check_hm" + "category": "hmcli" }, "106": { "uuid": "59a14db9-a752-49ba-a728-abe447672037", "varname": "hm_config", "caption": "hm_config", - "description": "path to check_hm.yaml (if created)", + "description": "path to hmcli.yaml (if created)", "datatype": "Icinga\\Module\\Director\\DataType\\DataTypeString", "format": null, "settings": { "visibility": "visible" }, - "category": "check_hm" + "category": "hmcli" }, "108": { "uuid": "8e08c513-7a08-406d-ae31-15998319bbcb", @@ -200,7 +200,7 @@ "settings": { "visibility": "visible" }, - "category": "check_hm" + "category": "hmcli" }, "116": { "uuid": "11018017-0eee-4ea4-8b55-8b33a8b3e4e2", @@ -212,7 +212,7 @@ "settings": { "visibility": "visible" }, - "category": "check_hm" + "category": "hmcli" }, "109": { "uuid": "b0e4a4d2-5ba6-45a7-8b1a-f62c0e9b775d", @@ -224,7 +224,7 @@ "settings": { "visibility": "visible" }, - "category": "check_hm" + "category": "hmcli" }, "115": { "uuid": "fa6f9466-7315-4786-b963-492c6a138a6c", @@ -236,7 +236,7 @@ "settings": { "visibility": "visible" }, - "category": "check_hm" + "category": "hmcli" }, "114": { "uuid": "253aecab-8677-44e2-b0f2-a12732df5dd0", @@ -248,7 +248,7 @@ "settings": { "visibility": "visible" }, - "category": "check_hm" + "category": "hmcli" }, "110": { "uuid": "bc2e2b46-3a13-4714-b298-927c91f0ab4e", @@ -260,19 +260,19 @@ "settings": { "visibility": "visible" }, - "category": "check_hm" + "category": "hmcli" }, "112": { "uuid": "9af2c492-78f6-47a4-b0b0-379c63fe4c59", "varname": "hm_subcommand", "caption": "hm_subcommand", - "description": "check_hm subcommand (e.g \"check\")", + "description": "hmcli subcommand (e.g \"check\")", "datatype": "Icinga\\Module\\Director\\DataType\\DataTypeString", "format": null, "settings": { "visibility": "visible" }, - "category": "check_hm" + "category": "hmcli" }, "105": { "uuid": "876c01e0-6dda-4890-9cda-a96c02109adb", @@ -284,7 +284,7 @@ "settings": { "visibility": "visible" }, - "category": "check_hm" + "category": "hmcli" }, "104": { "uuid": "2bafae55-29ee-49fa-8f64-b9075450cfd5", @@ -296,7 +296,7 @@ "settings": { "visibility": "visible" }, - "category": "check_hm" + "category": "hmcli" }, "107": { "uuid": "906bf45c-f533-4a01-b17f-a7dcd265ace3", @@ -308,12 +308,12 @@ "settings": { "visibility": "visible" }, - "category": "check_hm" + "category": "hmcli" } }, "DatafieldCategory": { - "check_hm": { - "category_name": "check_hm", + "hmcli": { + "category_name": "hmcli", "description": null, "originalId": "14" } diff --git a/README.md b/README.md index bb8b3c2..f996e12 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ -# check_hm +# hmcli Tool and Nagios/Icinga check plugin for Homematic/Raspberrymatic based on XMLAPI AddOn -[![Go Report Card](https://goreportcard.com/badge/github.com/tommi2day/check_hm)](https://goreportcard.com/report/github.com/tommi2day/check_hm) -![CI](https://github.com/tommi2day/check_hm/actions/workflows/main.yml/badge.svg) -[![codecov](https://codecov.io/gh/Tommi2Day/check_hm/branch/main/graph/badge.svg?token=3EBK75VLC8)](https://codecov.io/gh/Tommi2Day/check_hm) -![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/tommi2day/check_hm) +[![Go Report Card](https://goreportcard.com/badge/github.com/tommi2day/hmcli)](https://goreportcard.com/report/github.com/tommi2day/hmcli) +![CI](https://github.com/tommi2day/hmcli/actions/workflows/main.yml/badge.svg) +[![codecov](https://codecov.io/gh/Tommi2Day/hmcli/branch/main/graph/badge.svg?token=3EBK75VLC8)](https://codecov.io/gh/Tommi2Day/hmcli) +![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/tommi2day/hmcli) @@ -14,22 +14,22 @@ Tool and Nagios/Icinga check plugin for Homematic/Raspberrymatic based on XMLAPI - install XMLAPI-Addon on your Homematic/Raspberrymatic (see https://github.com/homematic-community/XML-API#installation) - create a token for the XMLAPI-Addon using `tokenregister.cgi` and notice the value (see https://github.com/homematic-community/XML-API#authentication) - put the binary in your nagios/icinga plugin directory - you may create a config file `check_hm.yaml` (usually in the same directory,$HOME/.check_hm or /etc/nagios-plugins/config or provide full path via --config flag) - with the content in [check_hm.yaml](check_hm_config.yaml) and modify for your site. You may provide all thes flags also on the command line -- test the plugin with `check_hm version --debug` to see if the correct config file has been taken and `check_hm device list` to see if your CCU access is working. - It should return a list of your devices. You may enable --debug to see details +- you may create a config file `hmcli.yaml` (usually in the same directory,$HOME/.hmcli or /etc/nagios-plugins/config or provide full path via --config flag) +with the content in [hmcli.yaml](hmcli_config.yaml) and modify for your site. You may provide all thes flags also on the command line +- test the plugin with `hmcli version --debug` to see if the correct config file has been taken and `hmcli device list` to see if your CCU access is working. +It should return a list of your devices. You may enable --debug to see details ## Configuration - create the your command and service definitions as usual. For Icinga2 see special hints in [Icinga2.md](Icinga2.md) and Icinga Director configuration basket [Icinga2_basket.json](Icinga2_basket.json) -- to define a service, you have usually provide the ise_id (--id flag) of your devices, datapoints or system variables. You can get them with `check_hm device list` or `check_hm datapoint list` or `check_hm sysvar list` +- to define a service, you have usually provide the ise_id (--id flag) of your devices, datapoints or system variables. You can get them with `hmcli device list` or `hmcli datapoint list` or `hmcli sysvar list` -## check_hm tool reference +## hmcli tool reference ```bash ->check_hm --help -Tool and Nagios/Icinga check plugin for Homematic/Raspberrymatic based on XMLAPI AddOn +>hmcli --help +Query Tool and Nagios/Icinga check plugin for Homematic/Raspberrymatic with XMLAPI Usage: - check_hm [command] + hmcli [command] Available Commands: completion Generate the autocompletion script for the specified shell @@ -46,40 +46,40 @@ Flags: -C, --config string config file name -c, --crit string critical level -d, --debug verbose debug output - -h, --help help for check_hm + -h, --help help for hmcli -t, --token string Homematic XMLAPI Token --unit-test redirect output for unit tests -u, --url string Homematic URL (default: https://ccu) (default "https://ccu") -w, --warn string warning level #------------------- ->check_hm datapoint +>hmcli datapoint command related to datapoints Usage: - check_hm datapoint [command] + hmcli datapoint [command] Available Commands: check check a single datapoint list List all data points for a device #------------------- -check_hm datapoint list --help +hmcli datapoint list --help List all data points for a device Usage: - check_hm datapoint list [flags] + hmcli datapoint list [flags] Flags: -h, --help help for list -m, --match string list data points with name matching regexp #------------------- ->check_hm datapoint check --help +>hmcli datapoint check --help select a single datapoint by name or id and check its value You can set -w or -c to set the warning or critical threshold on numeric values Usage: - check_hm datapoint check [flags] + hmcli datapoint check [flags] Flags: -h, --help help for check @@ -88,11 +88,11 @@ Flags: -n, --name string datapoint name(one) to query #------------------- ->check_hm devices list --help +>hmcli devices list --help list all devices or a specify one Usage: - check_hm device list [flags] + hmcli device list [flags] Flags: -a, --address string device addresses to query, comma separated @@ -103,11 +103,11 @@ Flags: #------------------- ->check_hm mastervalue +>hmcli mastervalue command related to device master values Usage: - check_hm value [command] + hmcli value [command] Aliases: value, values, mastervalue, mastervalues @@ -119,12 +119,12 @@ Available Commands: Flags: -h, --help help for value #------------------- ->check_hm mastervalue list --help +>hmcli mastervalue list --help List for a given device all mastervalues or a named value. Address or id must be given Usage: - check_hm value list [flags] + hmcli value list [flags] Flags: -a, --address string device addresses to query, comma separated @@ -133,12 +133,12 @@ Flags: -n, --name string requested mastervalue names, comma separated #------------------- ->check_hm mastervalue check --help +>hmcli mastervalue check --help this retrives a given device mastervalue and may check if it contains a string (-m) You can set -w or -c to set the warning or critical threshold on numeric values Usage: - check_hm value check [flags] + hmcli value check [flags] Flags: -a, --address string device address (only one) to query, alternative to id @@ -147,52 +147,52 @@ Flags: -m, --match string returned master value must match this regexp -n, --name string requested master value (not device) name ( only one) #------------------- ->check_hm notifications --help +>hmcli notifications --help List all current notifications. You can set -w or -c to set the warning or critical threshold on notification count Usage: - check_hm notifications [flags] + hmcli notifications [flags] Flags: -h, --help help for notifications -I, --ignore string regexp to ignore notifications #------------------- ->check_hm rssi --help +>hmcli rssi --help List available rssi values of devices Usage: - check_hm rssi [flags] + hmcli rssi [flags] Flags: -h, --help help for rssi #------------------- ->check_hm sysvar --help +>hmcli sysvar --help command related to system variables Usage: - check_hm sysvar [command] + hmcli sysvar [command] Available Commands: check check a single system variable list List all system variables #------------------- -check_hm.exe sysvar list --help +hmcli.exe sysvar list --help List all system variables Usage: - check_hm sysvar list [flags] + hmcli sysvar list [flags] Flags: -h, --help help for list #------------------- ->check_hm sysvar check --help +>hmcli sysvar check --help select a single system variable by name or id and check its value Usage: - check_hm sysvar check [flags] + hmcli sysvar check [flags] Flags: -h, --help help for check @@ -202,10 +202,10 @@ Flags: ``` -## check_hm examples +## hmcli examples ```bash # list datapoints of a device (using regexp). omit --match to see all ->check_hm datapoint list --match "000955699D3D84" +>hmcli datapoint list --match "000955699D3D84" Device: Bewegungsmelder Garage Channel: Bewegungsmelder Garage:0 Datapoint: HmIP-RF.000955699D3D84:0.CONFIG_PENDING(4742) = true Device: Bewegungsmelder Garage Channel: Bewegungsmelder Garage:0 Datapoint: HmIP-RF.000955699D3D84:0.DUTY_CYCLE(4746) = false Device: Bewegungsmelder Garage Channel: Bewegungsmelder Garage:0 Datapoint: HmIP-RF.000955699D3D84:0.ERROR_CODE(4747) = 0 @@ -216,18 +216,18 @@ Device: Bewegungsmelder Garage Channel: Bewegungsmelder Garage Datapoint: HmIP-R Device: Bewegungsmelder Garage Channel: Bewegungsmelder Garage Datapoint: HmIP-RF.000955699D3D84:1.ILLUMINATION_STATUS(7801) = 0 # check a single datapoint (using exact name) and set warning level if value is not "true" ->check_hm datapoint check --name HmIP-RF.000955699D3D84:0.LOW_BAT --match "true" +>hmcli datapoint check --name HmIP-RF.000955699D3D84:0.LOW_BAT --match "true" CRITICAL: HmIP-RF.000955699D3D84:0.LOW_BAT returned value 'false', does not match 'true' Datapoint:HmIP-RF.000955699D3D84:0.LOW_BAT ID:4748 Value:=false | 'time'=847ms;;;; # list devices by name (omit --name to see all) ->check_hm device list --name "Bewegungsmelder Garage" +>hmcli device list --name "Bewegungsmelder Garage" ID:4740, Name: Bewegungsmelder Garage, Address: 000955699D3D84, Type: HmIP-SMO # list master values of a device by id (id or name required) ->check_hm mastervalues list --id="4740" +>hmcli mastervalues list --id="4740" Device (ID=4740): Bewegungsmelder Garage, Type: HmIP-SMO ARR_TIMEOUT=10 CYCLIC_BIDI_INFO_MSG_DISCARD_FACTOR=1 @@ -255,7 +255,7 @@ Device:4740 ID:Bewegungsmelder Garage ValueName:ARR_TIMEOUT=10 | 'Bewegungsmelder Garage(4740).ARR_TIMEOUT'=10;9;;; 'time'=156ms;;;; # check notifications and warn if there is one or more pending ->check_hm.exe notifications -w 1 +>hmcli.exe notifications -w 1 1 notifications pending **THRESHOLDS** @@ -268,17 +268,17 @@ CONFIG_PENDING: HmIP-RF.000955699D3D84:0.CONFIG_PENDING(Bewegungsmelder Garage) | 'notifications'=1;1;;; 'time'=2029ms;;;; # check notifications as before, but ignore sticky and config pending notifications ->check_hm.exe notifications -I 'STICKY|PENDING' -w 1 +>hmcli.exe notifications -I 'STICKY|PENDING' -w 1 0 notifications pending | 'notifications'=0;1;;; 'time'=1853ms;;;; # list rssi values of devices ->check_hm.exe rssi +>hmcli.exe rssi Address:BidCoS-RF rx:65536 tx: -56 Address:KEQ1070683 rx:65536 tx: -73 Address:MEQ0272433 rx:65536 tx: -58 # list system variables and find id of a variable ->check_hm.exe sysvar list +>hmcli.exe sysvar list ID:7931, Name: DutyCycle-Alarm, Value: nicht ausgelöst, INFO: DutyCycle 98% (CCU) ID:7794, Name: WatchDog-Alarm, Value: nicht ausgelöst, INFO: Unclean shutdown or system crash identified ID:1233, Name: Alarmzone 1, Value: ausgelöst, INFO: Alarmmeldung Alarmzone 1, Since:2024-02-17 19:15:22 @@ -287,7 +287,7 @@ ID:6548, Name: DutyCycle, Value: 36.000000 %, INFO: DutyCycle CCU, Since:2024-02 # check HM DutyCyle variable and set warning level if value is >=30 # DutyCycle needs to be published by removing the "internal" flag in CCU Systemvariables settings ->check_hm.exe sysvar check --id 6548 -w 30 +>hmcli.exe sysvar check --id 6548 -w 30 DutyCycle=34.000000 (%) **THRESHOLDS** diff --git a/cmd/datapoint_test.go b/cmd/datapoint_test.go index 7d9c513..eed2d39 100644 --- a/cmd/datapoint_test.go +++ b/cmd/datapoint_test.go @@ -3,7 +3,7 @@ package cmd import ( "testing" - "github.com/tommi2day/check_hm/test" + "github.com/tommi2day/hmcli/test" "github.com/atc0005/go-nagios" "github.com/go-resty/resty/v2" diff --git a/cmd/device_test.go b/cmd/device_test.go index 12a9dc5..c391e32 100644 --- a/cmd/device_test.go +++ b/cmd/device_test.go @@ -3,7 +3,7 @@ package cmd import ( "testing" - "github.com/tommi2day/check_hm/test" + "github.com/tommi2day/hmcli/test" "github.com/go-resty/resty/v2" "github.com/jarcoal/httpmock" diff --git a/cmd/mastervalues_test.go b/cmd/mastervalues_test.go index 584316e..a626532 100644 --- a/cmd/mastervalues_test.go +++ b/cmd/mastervalues_test.go @@ -3,7 +3,7 @@ package cmd import ( "testing" - "github.com/tommi2day/check_hm/test" + "github.com/tommi2day/hmcli/test" "github.com/atc0005/go-nagios" "github.com/go-resty/resty/v2" diff --git a/cmd/notification_test.go b/cmd/notification_test.go index 842d008..51242b9 100644 --- a/cmd/notification_test.go +++ b/cmd/notification_test.go @@ -3,7 +3,7 @@ package cmd import ( "testing" - "github.com/tommi2day/check_hm/test" + "github.com/tommi2day/hmcli/test" "github.com/atc0005/go-nagios" "github.com/go-resty/resty/v2" diff --git a/cmd/rootcmd.go b/cmd/rootcmd.go index 344c29f..5ca89fa 100644 --- a/cmd/rootcmd.go +++ b/cmd/rootcmd.go @@ -29,9 +29,9 @@ var ( // RootCmd entry point to start RootCmd = &cobra.Command{ - Use: "check_hm", - Short: "check_hm – Homematic Data Tool", - Long: `Tool and Nagios/Icinga check plugin for Homematic/Raspberrymatic based on XMLAPI-Addon`, + Use: "hmcli", + Short: "hmcli – Homematic Command Line and Icinga compatible Monitoring Tool", + Long: `Query Tool and Nagios/Icinga check plugin for Homematic/Raspberrymatic with XMLAPI`, SilenceErrors: true, } ) @@ -41,8 +41,8 @@ const ( // env APP_MY_VAR = "MY_VALUE" // e.g. export APP_LDAP_USERNAME test // maps to ldap.username - configEnvPrefix = "CHECK_HM" - configName = "check_hm" + configEnvPrefix = "HMCLI" + configName = "hmcli" configType = "yaml" ) @@ -77,9 +77,9 @@ func initConfig() { viper.SetConfigName(configName) home := homedir.Get() if cfgFile == "" { - // Search config in /etc/nagios-plugins/config $HOME/.check_hm and current directory. + // Search config in /etc/nagios-plugins/config $HOME/.hmcli and current directory. viper.AddConfigPath(".") - viper.AddConfigPath(home + "/.check_hm") + viper.AddConfigPath(home + "/.hmcli") viper.AddConfigPath("/etc/nagios-plugins/config") } else { // set filename form cli @@ -103,6 +103,7 @@ func initConfig() { // report function name log.SetReportCaller(true) log.SetLevel(log.DebugLevel) + hmlib.SetDebug(true) } logFormatter := &prefixed.TextFormatter{ diff --git a/cmd/rssi_test.go b/cmd/rssi_test.go index 9efb4e6..38bbaad 100644 --- a/cmd/rssi_test.go +++ b/cmd/rssi_test.go @@ -1,10 +1,9 @@ package cmd import ( + "github.com/tommi2day/hmcli/test" "testing" - "github.com/tommi2day/check_hm/test" - "github.com/go-resty/resty/v2" "github.com/jarcoal/httpmock" "github.com/stretchr/testify/assert" diff --git a/cmd/sysvar_test.go b/cmd/sysvar_test.go index d228273..bc83ca4 100644 --- a/cmd/sysvar_test.go +++ b/cmd/sysvar_test.go @@ -3,7 +3,7 @@ package cmd import ( "testing" - "github.com/tommi2day/check_hm/test" + "github.com/tommi2day/hmcli/test" "github.com/atc0005/go-nagios" "github.com/go-resty/resty/v2" diff --git a/cmd/version_test.go b/cmd/version_test.go index 718819a..7586485 100644 --- a/cmd/version_test.go +++ b/cmd/version_test.go @@ -1,10 +1,9 @@ package cmd import ( + "github.com/tommi2day/hmcli/test" "testing" - "github.com/tommi2day/check_hm/test" - "github.com/tommi2day/gomodules/common" "github.com/stretchr/testify/assert" diff --git a/go.mod b/go.mod index bf24745..1063baf 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/tommi2day/check_hm +module github.com/tommi2day/hmcli go 1.22 @@ -8,10 +8,10 @@ require ( github.com/jarcoal/httpmock v1.3.1 github.com/ory/dockertest/v3 v3.10.0 github.com/sirupsen/logrus v1.9.3 - github.com/spf13/cobra v1.8.0 - github.com/spf13/viper v1.18.2 + github.com/spf13/cobra v1.8.1 + github.com/spf13/viper v1.19.0 github.com/stretchr/testify v1.9.0 - github.com/tommi2day/gomodules v1.13.3 + github.com/tommi2day/gomodules v1.14.1 github.com/x-cray/logrus-prefixed-formatter v0.5.2 ) @@ -22,12 +22,12 @@ require ( github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect github.com/ProtonMail/go-crypto v1.0.0 // indirect github.com/cenkalti/backoff/v4 v4.3.0 // indirect - github.com/cloudflare/circl v1.3.8 // indirect + github.com/cloudflare/circl v1.3.9 // indirect github.com/containerd/continuity v0.4.3 // indirect github.com/cyphar/filepath-securejoin v0.2.5 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect - github.com/docker/cli v26.1.3+incompatible // indirect - github.com/docker/docker v26.1.3+incompatible // indirect + github.com/docker/cli v26.1.4+incompatible // indirect + github.com/docker/docker v27.0.0+incompatible // indirect github.com/docker/go-connections v0.5.0 // indirect github.com/docker/go-units v0.5.0 // indirect github.com/emirpasic/gods v1.18.1 // indirect @@ -52,12 +52,12 @@ require ( github.com/onsi/ginkgo v1.16.5 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect github.com/opencontainers/image-spec v1.1.0 // indirect - github.com/opencontainers/runc v1.1.12 // indirect + github.com/opencontainers/runc v1.1.13 // indirect github.com/pelletier/go-toml/v2 v2.2.2 // indirect github.com/pjbgf/sha1cd v0.3.0 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - github.com/sagikazarmark/locafero v0.4.0 // indirect + github.com/sagikazarmark/locafero v0.6.0 // indirect github.com/sagikazarmark/slog-shim v0.1.0 // indirect github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect github.com/skeema/knownhosts v1.2.2 // indirect @@ -71,12 +71,12 @@ require ( github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect github.com/xeipuuv/gojsonschema v1.2.0 // indirect go.uber.org/multierr v1.11.0 // indirect - golang.org/x/crypto v0.23.0 // indirect - golang.org/x/exp v0.0.0-20240525044651-4c93da0ed11d // indirect - golang.org/x/net v0.25.0 // indirect - golang.org/x/sys v0.20.0 // indirect - golang.org/x/term v0.20.0 // indirect - golang.org/x/text v0.15.0 // indirect + golang.org/x/crypto v0.24.0 // indirect + golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8 // indirect + golang.org/x/net v0.26.0 // indirect + golang.org/x/sys v0.21.0 // indirect + golang.org/x/term v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect diff --git a/go.sum b/go.sum index 0fecb2a..fae3225 100644 --- a/go.sum +++ b/go.sum @@ -19,11 +19,11 @@ github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7N github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8= github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA= -github.com/cloudflare/circl v1.3.8 h1:j+V8jJt09PoeMFIu2uh5JUyEaIHTXVOHslFoLNAKqwI= -github.com/cloudflare/circl v1.3.8/go.mod h1:PDRU+oXvdD7KCtgKxW95M5Z8BpSCJXQORiZFnBQS5QU= +github.com/cloudflare/circl v1.3.9 h1:QFrlgFYf2Qpi8bSpVPK1HBvWpx16v/1TZivyo7pGuBE= +github.com/cloudflare/circl v1.3.9/go.mod h1:PDRU+oXvdD7KCtgKxW95M5Z8BpSCJXQORiZFnBQS5QU= github.com/containerd/continuity v0.4.3 h1:6HVkalIp+2u1ZLH1J/pYX2oBVXlJZvh1X1A7bEZ9Su8= github.com/containerd/continuity v0.4.3/go.mod h1:F6PTNCKepoxEaXLQp3wDAjygEnImnZ/7o4JzpodfroQ= -github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY= github.com/creack/pty v1.1.18/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/cyphar/filepath-securejoin v0.2.5 h1:6iR5tXJ/e6tJZzzdMc1km3Sa7RRIVBKAK32O2s7AYfo= @@ -32,10 +32,10 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/docker/cli v26.1.3+incompatible h1:bUpXT/N0kDE3VUHI2r5VMsYQgi38kYuoC0oL9yt3lqc= -github.com/docker/cli v26.1.3+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= -github.com/docker/docker v26.1.3+incompatible h1:lLCzRbrVZrljpVNobJu1J2FHk8V0s4BawoZippkc+xo= -github.com/docker/docker v26.1.3+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/cli v26.1.4+incompatible h1:I8PHdc0MtxEADqYJZvhBrW9bo8gawKwwenxRM7/rLu8= +github.com/docker/cli v26.1.4+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= +github.com/docker/docker v27.0.0+incompatible h1:JRugTYuelmWlW0M3jakcIadDx2HUoUO6+Tf2C5jVfwA= +github.com/docker/docker v27.0.0+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/go-connections v0.5.0 h1:USnMq7hx7gwdVZq1L49hLXaFtUdTADjXGp+uj1Br63c= github.com/docker/go-connections v0.5.0/go.mod h1:ov60Kzw0kKElRwhNs9UlUHAE/F9Fe6GLaXnqyDdmEXc= github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4= @@ -137,8 +137,8 @@ github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8 github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/opencontainers/image-spec v1.1.0 h1:8SG7/vwALn54lVB/0yZ/MMwhFrPYtpEHQb2IpWsCzug= github.com/opencontainers/image-spec v1.1.0/go.mod h1:W4s4sFTMaBeK1BQLXbG4AdM2szdn85PY75RI83NrTrM= -github.com/opencontainers/runc v1.1.12 h1:BOIssBaW1La0/qbNZHXOOa71dZfZEQOzW7dqQf3phss= -github.com/opencontainers/runc v1.1.12/go.mod h1:S+lQwSfncpBha7XTy/5lBwWgm5+y5Ma/O44Ekby9FK8= +github.com/opencontainers/runc v1.1.13 h1:98S2srgG9vw0zWcDpFMn5TRrh8kLxa/5OFUstuUhmRs= +github.com/opencontainers/runc v1.1.13/go.mod h1:R016aXacfp/gwQBYw2FDGa9m+n6atbLWrYY8hNMT/sA= github.com/ory/dockertest/v3 v3.10.0 h1:4K3z2VMe8Woe++invjaTB7VRyQXQy5UY+loujO4aNE4= github.com/ory/dockertest/v3 v3.10.0/go.mod h1:nr57ZbRWMqfsdGdFNLHz5jjNdDb7VVFnzAeW1n5N1Lg= github.com/pelletier/go-toml/v2 v2.2.2 h1:aYUidT7k73Pcl9nb2gScu7NSrKCSHIDE89b3+6Wq+LM= @@ -153,8 +153,8 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6keLGt6kNQ= -github.com/sagikazarmark/locafero v0.4.0/go.mod h1:Pe1W6UlPYUk/+wc/6KFhbORCfqzgYEpgQ3O5fPuL3H4= +github.com/sagikazarmark/locafero v0.6.0 h1:ON7AQg37yzcRPU69mt7gwhFEBwxI6P9T4Qu3N51bwOk= +github.com/sagikazarmark/locafero v0.6.0/go.mod h1:77OmuIc6VTraTXKXIs/uvUxKGUXjE1GbemJYHqdNjX0= github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ= github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8= @@ -170,12 +170,12 @@ github.com/spf13/afero v1.11.0 h1:WJQKhtpdm3v2IzqG8VMqrr6Rf3UYpEF239Jy9wNepM8= github.com/spf13/afero v1.11.0/go.mod h1:GH9Y3pIexgf1MTIWtNGyogA5MwRIDXGUr+hbWNoBjkY= github.com/spf13/cast v1.6.0 h1:GEiTHELF+vaR5dhz3VqZfFSzZjYbgeKDpBxQVS4GYJ0= github.com/spf13/cast v1.6.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo= -github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0= -github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho= +github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM= +github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/viper v1.18.2 h1:LUXCnvUvSM6FXAsj6nnfc8Q2tp1dIgUfY9Kc8GsSOiQ= -github.com/spf13/viper v1.18.2/go.mod h1:EKmWIqdnk5lOcmR72yw6hS+8OPYcwD0jteitLMVB+yk= +github.com/spf13/viper v1.19.0 h1:RWq5SEjt8o25SROyN3z2OrDB9l7RPd3lwTWU8EcEdcI= +github.com/spf13/viper v1.19.0/go.mod h1:GQUN9bilAbhU/jgc1bKs99f/suXKeUMct8Adx5+Ntkg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= @@ -192,8 +192,8 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= -github.com/tommi2day/gomodules v1.13.3 h1:m5X4ke1psvonUbO4a38HQl+HL9yLL38NK8y7HZv6dr0= -github.com/tommi2day/gomodules v1.13.3/go.mod h1:2zYTfDdF5qsB2g2xTkYi2//UBTNmpYdXNXyYMMz5ZlI= +github.com/tommi2day/gomodules v1.14.1 h1:65gZ830hX8cVuT/AhZwCUL7+zyFZWtoWOku/Nau6Dg8= +github.com/tommi2day/gomodules v1.14.1/go.mod h1:wz0a8Ip7t1Nqhht/jXPCRAEhA2xiDLsXfFHpTW2xWEI= github.com/x-cray/logrus-prefixed-formatter v0.5.2 h1:00txxvfBM9muc0jiLIEAkAcIMJzfthRT6usrui8uGmg= github.com/x-cray/logrus-prefixed-formatter v0.5.2/go.mod h1:2duySbKsL6M18s5GU7VPsoEPHyzalCE06qoARUCeBBE= github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM= @@ -218,10 +218,11 @@ golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0 golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= -golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= -golang.org/x/exp v0.0.0-20240525044651-4c93da0ed11d h1:N0hmiNbwsSNwHBAvR3QB5w25pUwH4tK0Y/RltD1j1h4= -golang.org/x/exp v0.0.0-20240525044651-4c93da0ed11d/go.mod h1:XtvwrStGgqGPLc4cjQfWqZHG1YFdYs6swckp8vpsjnc= +golang.org/x/crypto v0.24.0 h1:mnl8DM0o513X8fdIkmyFE/5hTYxbwYOjDS/+rK6qpRI= +golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM= +golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8 h1:yixxcjnhBmY0nkL253HFVIm0JsFHwrHdT3Yh6szTnfY= +golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8/go.mod h1:jj3sYF3dwk5D+ghuXyeI3r5MFf+NT2An6/9dOA95KSI= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= @@ -240,8 +241,9 @@ golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= +golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -273,8 +275,9 @@ golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= +golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= @@ -282,8 +285,9 @@ golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= -golang.org/x/term v0.20.0 h1:VnkxpohqXaOBYJtBmEppKUG6mXpi+4O6purfc2+sMhw= golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= +golang.org/x/term v0.21.0 h1:WVXCp+/EBEHOj53Rvu+7KiT/iElMrO8ACK16SMZ3jaA= +golang.org/x/term v0.21.0/go.mod h1:ooXLefLobQVslOqselCNF4SxFAaoS6KujMbsGzSDmX0= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= @@ -293,8 +297,9 @@ golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk= golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= diff --git a/check_hm_config.yaml b/hmcli_config.yaml similarity index 100% rename from check_hm_config.yaml rename to hmcli_config.yaml diff --git a/main.go b/main.go index a0eb4ff..6410445 100644 --- a/main.go +++ b/main.go @@ -2,7 +2,7 @@ package main import ( - "github.com/tommi2day/check_hm/cmd" + "github.com/tommi2day/hmcli/cmd" ) func main() {