vagrant-docker-hosts-manager 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/locales/en.yml CHANGED
@@ -1,115 +1,121 @@
1
1
  en:
2
- help:
3
- title: "Vagrant Docker Hosts Manager"
4
- usage: "Usage: vagrant hosts <apply|remove|view|help|version> [options]"
5
- commands_header: "Commands:"
6
- options_header: "Options:"
7
- topics_header: "Help topics:"
8
- topic_header: "Help: vagrant hosts %{topic}"
9
- usage_label: "Usage:"
10
- description_label: "Description:"
11
- options_label: "Options:"
12
- examples_label: "Examples:"
13
- commands:
14
- apply: "apply [IP] [DOMAIN] Add/update entries in hosts file"
15
- remove: "remove [IP|DOMAIN] Remove entries or the whole managed block"
16
- view: "view [DOMAIN] Show planned/managed hosts entries"
17
- version: "version Display plugin version"
18
- help: "help [DOMAIN] Show help or subcommands help"
19
- options:
20
- json: "--json Machine-readable JSON output"
21
- lang: "--lang LANG Force language (en|fr)"
22
- no_emoji: "--no-emoji Disable emoji in CLI output"
23
- help: "-h, --help Show help"
24
- topic:
25
- apply:
26
- title: "apply"
27
- usage: "vagrant hosts apply <IP> <DOMAIN>"
28
- description: >
29
- Add or update the given mapping in the managed block for the target VM.
30
- If no mapping is given, values from the Vagrantfile (docker_hosts) are used.
31
- The command validates both parameters: IPv4 (e.g. 172.28.100.2) and DOMAIN (e.g. example.test).
32
- options:
33
- json: "--json Output machine-readable JSON"
34
- dryrun: "--dry-run Do not modify hosts file"
35
- lang: "--lang <en|fr> Force language"
36
- noemoji: "--no-emoji Disable emoji in CLI output"
37
- examples:
38
- - "vagrant hosts apply 172.28.100.2 flowfind.noesi.local"
39
- - "vagrant hosts apply 172.28.100.3 flowfind3.noesi.local default"
40
- remove:
41
- title: "remove"
42
- usage: "vagrant hosts remove [<IP>|<DOMAIN>]"
43
- description: >
44
- Remove one mapping by IP or DOMAIN. If no parameter is provided, you will be asked
45
- to confirm removing ALL managed entries for the VM (prompt: yes/No).
46
- The parameter format is validated (IPv4 or DOMAIN).
47
- options:
48
- json: "--json Output machine-readable JSON"
49
- dryrun: "--dry-run Do not modify hosts file"
50
- lang: "--lang <en|fr> Force language"
51
- noemoji: "--no-emoji Disable emoji in CLI output"
52
- examples:
53
- - "vagrant hosts remove 172.28.100.2"
54
- - "vagrant hosts remove flowfind.noesi.local"
55
- - "vagrant hosts remove # will ask for confirmation to remove ALL"
56
- view:
57
- title: "view"
58
- usage: "vagrant hosts view"
59
- description: >
60
- Display planned entries (from Vagrantfile) and managed entries currently present
61
- in the hosts file. Shows unique pairs IP → DOMAIN.
62
- options:
63
- json: "--json Output machine-readable JSON"
64
- dryrun: "--dry-run Do not modify hosts file"
65
- lang: "--lang <en|fr> Force language"
66
- noemoji: "--no-emoji Disable emoji in CLI output"
67
- examples:
68
- - "vagrant hosts view"
69
- - "vagrant hosts view default"
70
- version:
71
- title: "version"
72
- usage: "vagrant hosts version"
73
- description: "Print the plugin version."
74
- options: {}
75
- examples:
76
- - "vagrant hosts version"
77
- help:
78
- title: "help"
79
- usage: "vagrant hosts help [apply|remove|view|version|help]"
80
- description: "Show general help or detailed help for a specific subcommand."
81
- options: {}
82
- examples:
83
- - "vagrant hosts help"
84
- - "vagrant hosts help apply"
2
+ vdhm:
3
+ help:
4
+ title: "Vagrant Docker Hosts Manager"
5
+ usage: "Usage: vagrant hosts <apply|remove|view|help|version> [options]"
6
+ commands_header: "Commands:"
7
+ options_header: "Options:"
8
+ topics_header: "Help topics:"
9
+ topic_header: "Help: vagrant hosts %{topic}"
10
+ usage_label: "Usage:"
11
+ description_label: "Description:"
12
+ options_label: "Options:"
13
+ examples_label: "Examples:"
14
+ commands:
15
+ apply: "apply [IP] [DOMAIN] Add/update entries in hosts file"
16
+ remove: "remove [IP|DOMAIN] Remove entries or the whole managed block"
17
+ view: "view [DOMAIN] Show planned/managed hosts entries"
18
+ version: "version Display plugin version"
19
+ help: "help [DOMAIN] Show help or subcommands help"
20
+ options:
21
+ json: "--json Machine-readable JSON output"
22
+ lang: "--lang LANG Force language (en|fr)"
23
+ no_emoji: "--no-emoji Disable emoji in CLI output"
24
+ topic:
25
+ apply:
26
+ title: "apply"
27
+ usage: "vagrant hosts apply <IP> <DOMAIN>"
28
+ description: >
29
+ Add or update the given mapping in the managed block for the target VM.
30
+ If no mapping is given, values from the Vagrantfile (docker_hosts) are used.
31
+ The command validates both parameters: IPv4 (e.g. 172.28.100.2) and DOMAIN (e.g. example.test).
32
+ options:
33
+ json: "--json Output machine-readable JSON"
34
+ dryrun: "--dry-run Do not modify hosts file"
35
+ lang: "--lang <en|fr> Force language"
36
+ noemoji: "--no-emoji Disable emoji in CLI output"
37
+ examples:
38
+ - "vagrant hosts apply 172.28.100.2 flowfind.noesi.local"
39
+ - "vagrant hosts apply 172.28.100.3 flowfind3.noesi.local default"
40
+ remove:
41
+ title: "remove"
42
+ usage: "vagrant hosts remove [<IP>|<DOMAIN>]"
43
+ description: >
44
+ Remove one mapping by IP or DOMAIN. If no parameter is provided, you will be asked
45
+ to confirm removing ALL managed entries for the VM (prompt: y/N).
46
+ With --all, purge EVERY managed block from EVERY machine (orphans left by
47
+ machines deleted without `vagrant destroy` included) — works outside a project.
48
+ The parameter format is validated (IPv4 or DOMAIN).
49
+ options:
50
+ all: "--all, --prune Purge ALL managed blocks (every machine, incl. orphans)"
51
+ json: "--json Output machine-readable JSON"
52
+ dryrun: "--dry-run Do not modify hosts file"
53
+ lang: "--lang <en|fr> Force language"
54
+ noemoji: "--no-emoji Disable emoji in CLI output"
55
+ examples:
56
+ - "vagrant hosts remove 172.28.100.2"
57
+ - "vagrant hosts remove flowfind.noesi.local"
58
+ - "vagrant hosts remove # will ask for confirmation to remove ALL"
59
+ - "vagrant hosts remove --all # purge every managed block (orphans included)"
60
+ view:
61
+ title: "view"
62
+ usage: "vagrant hosts view"
63
+ description: >
64
+ Display planned entries (from Vagrantfile) and managed entries currently present
65
+ in the hosts file. Shows unique pairs IP → DOMAIN.
66
+ options:
67
+ json: "--json Output machine-readable JSON"
68
+ dryrun: "--dry-run Do not modify hosts file"
69
+ lang: "--lang <en|fr> Force language"
70
+ noemoji: "--no-emoji Disable emoji in CLI output"
71
+ examples:
72
+ - "vagrant hosts view"
73
+ - "vagrant hosts view default"
74
+ version:
75
+ title: "version"
76
+ usage: "vagrant hosts version"
77
+ description: "Print the plugin version."
78
+ options: {}
79
+ examples:
80
+ - "vagrant hosts version"
81
+ help:
82
+ title: "help"
83
+ usage: "vagrant hosts help [apply|remove|view|version|help]"
84
+ description: "Show general help or detailed help for a specific subcommand."
85
+ options: {}
86
+ examples:
87
+ - "vagrant hosts help"
88
+ - "vagrant hosts help apply"
85
89
 
86
- messages:
87
- no_entries: "No hosts entries configured."
88
- applied: "Hosts entries applied."
89
- removed_count: "%{count} entries removed."
90
- cleaned: "Managed hosts entries removed."
91
- nothing_to_clean: "Nothing to clean."
92
- missing_ip_for: "No IP configured for %{domain}; skipping."
93
- detected_ip: "Detected IP for %{domain}: %{ip}."
94
- no_ip_found: "No IP found for %{domain} (container: %{container})."
95
- lang_set: "Language set to %{lang}."
96
- no_change: "Nothing to apply. Already up-to-date."
97
- invalid_ip: "Invalid IPv4 address: %{ip}"
98
- invalid_host: "Invalid host/DOMAIN: %{host}"
99
- missing_mapping: "Provide both IP and DOMAIN (e.g. `vagrant hosts apply 1.2.3.4 example.test`)."
100
- invalid_key: "Invalid IP or DOMAIN: %{key}"
101
- view_header: "Planned hosts entries:"
102
- view_managed_header: "Managed hosts entries:"
103
- apply_summary: "Added: %{a}, Updated: %{u}, Unchanged: %{s}"
104
- remove_expected_format: "Expected IPv4 (e.g. 172.28.100.2) or DOMAIN (e.g. example.test)."
105
- confirm_remove_all: "This will remove ALL managed hosts entries for %{vm}. Continue? (yes/NO)"
106
- remove_all_cancelled: "Cancelled. Nothing removed."
107
- remove_none: "No matching entry to remove."
90
+ messages:
91
+ no_entries: "No hosts entries configured."
92
+ applied: "Hosts entries applied."
93
+ removed_count: "%{count} entries removed."
94
+ cleaned: "Managed hosts entries removed."
95
+ cleaned_all: "All managed hosts blocks removed."
96
+ nothing_to_clean: "Nothing to clean."
97
+ missing_ip_for: "No IP configured for %{domain}; skipping."
98
+ detected_ip: "Detected IP for %{domain}: %{ip}."
99
+ no_ip_found: "No IP found for %{domain} (container: %{container})."
100
+ lang_set: "Language set to %{lang}."
101
+ no_change: "Nothing to apply. Already up-to-date."
102
+ invalid_ip: "Invalid IPv4 address: %{ip}"
103
+ invalid_host: "Invalid host/DOMAIN: %{host}"
104
+ missing_mapping: "Provide both IP and DOMAIN (e.g. `vagrant hosts apply 1.2.3.4 example.test`)."
105
+ invalid_key: "Invalid IP or DOMAIN: %{key}"
106
+ view_header: "Planned hosts entries:"
107
+ view_managed_header: "Managed hosts entries:"
108
+ apply_summary: "Added: %{a}, Updated: %{u}, Unchanged: %{s}"
109
+ remove_expected_format: "Expected IPv4 (e.g. 172.28.100.2) or DOMAIN (e.g. example.test)."
110
+ confirm_remove_all: "This will remove ALL managed hosts entries for %{vm}. Continue? (y/N)"
111
+ confirm_prune: "This will remove ALL managed hosts blocks from EVERY machine (orphans included). Continue? (y/N)"
112
+ remove_all_cancelled: "Cancelled. Nothing removed."
113
+ remove_none: "No matching entry to remove."
108
114
 
109
- errors:
110
- no_machine: "No target machine found. Run this inside a Vagrant project or pass a VM name."
111
- not_admin: "Administrator/root privileges required to modify hosts at %{path}."
112
- invalid_locale: "Locale must be 'en' or 'fr'."
115
+ errors:
116
+ no_machine: "No target machine found. Run this inside a Vagrant project or pass a VM name."
117
+ not_admin: "Administrator/root privileges required to modify hosts at %{path}."
118
+ invalid_locale: "Locale must be 'en' or 'fr'."
113
119
 
114
- log:
115
- version_line: "vagrant-docker-hosts-manager version %{version}"
120
+ log:
121
+ version_line: "vagrant-docker-hosts-manager version %{version}"
data/locales/fr.yml CHANGED
@@ -1,116 +1,122 @@
1
1
  fr:
2
- help:
3
- title: "Vagrant Docker Hosts Manager"
4
- usage: "Utilisation : vagrant hosts <apply|remove|view|help|version> [options]"
5
- commands_header: "Commandes :"
6
- options_header: "Options :"
7
- topics_header: "Sujets d'aide :"
8
- topic_header: "Aide : vagrant hosts %{topic}"
9
- usage_label: "Utilisation :"
10
- description_label: "Description :"
11
- options_label: "Options :"
12
- examples_label: "Exemples :"
13
- commands:
14
- apply: "apply [IP] [DOMAIN] Ajouter/mettre à jour des entrées dans le fichier hosts"
15
- remove: "remove [IP|DOMAIN] Supprimer des entrées ou tout le bloc géré"
16
- view: "view [DOMAIN] Afficher les entrées prévues/gérées"
17
- version: "version Afficher la version du plugin"
18
- help: "help [command] Afficher l'Aide générale ou d'un sous-commande"
19
- options:
20
- json: "--json Sortie JSON lisible par machine"
21
- dry_run: "--dry-run Ne pas modifier le fichier hosts"
22
- lang: "--lang LANG Forcer la langue (en|fr)"
23
- no_emoji: "--no-emoji Désactiver les émojis dans la sortie CLI"
24
- help: "-h, --help Afficher l'aide"
25
- topic:
26
- apply:
27
- title: "apply"
28
- usage: "vagrant hosts apply <IP> <DOMAIN>"
29
- description: >
30
- Ajoute ou met à jour le mapping fourni dans le bloc géré pour la VM cible.
31
- Si aucun mapping n'est fourni, les valeurs du Vagrantfile (docker_hosts) sont utilisées.
32
- Les deux paramètres sont validés : IPv4 (ex. 172.28.100.2) et DOMAINE (ex. example.test).
33
- options:
34
- json: "--json Sortie JSON (machine-readable)"
35
- dryrun: "--dry-run Ne pas modifier le fichier hosts"
36
- lang: "--lang <en|fr> Forcer la langue"
37
- noemoji: "--no-emoji Désactiver les émojis dans la sortie"
38
- examples:
39
- - "vagrant hosts apply 172.28.100.2 flowfind.noesi.local"
40
- - "vagrant hosts apply 172.28.100.3 flowfind3.noesi.local default"
41
- remove:
42
- title: "remove"
43
- usage: "vagrant hosts remove [<IP>|<DOMAIN>]"
44
- description: >
45
- Supprime un mapping par IP ou DOMAINE. Si aucun paramètre n'est fourni, une confirmation
46
- est demandée avant de supprimer TOUTES les entrées gérées pour la VM (invite : yes/No).
47
- Le format du paramètre est validé (IPv4 ou DOMAINE).
48
- options:
49
- json: "--json Sortie JSON (machine-readable)"
50
- dryrun: "--dry-run Ne pas modifier le fichier hosts"
51
- lang: "--lang <en|fr> Forcer la langue"
52
- noemoji: "--no-emoji Désactiver les émojis dans la sortie"
53
- examples:
54
- - "vagrant hosts remove 172.28.100.2"
55
- - "vagrant hosts remove flowfind.noesi.local"
56
- - "vagrant hosts remove # demande une confirmation pour TOUT supprimer"
57
- view:
58
- title: "view"
59
- usage: "vagrant hosts view"
60
- description: >
61
- Affiche les entrées prévues (depuis le Vagrantfile) et les entrées gérées présentes
62
- dans le fichier hosts. Affiche des paires uniques IP → DOMAINE.
63
- options:
64
- json: "--json Sortie JSON (machine-readable)"
65
- dryrun: "--dry-run Ne pas modifier le fichier hosts"
66
- lang: "--lang <en|fr> Forcer la langue"
67
- noemoji: "--no-emoji Désactiver les émojis dans la sortie"
68
- examples:
69
- - "vagrant hosts view"
70
- - "vagrant hosts view default"
71
- version:
72
- title: "version"
73
- usage: "vagrant hosts version"
74
- description: "Affiche la version du plugin."
75
- options: {}
76
- examples:
77
- - "vagrant hosts version"
78
- help:
79
- title: "help"
80
- usage: "vagrant hosts help [apply|remove|view|version|help]"
81
- description: "Afficher l'aide générale ou l'aide détaillée d'une sous-commande."
82
- options: {}
83
- examples:
84
- - "vagrant hosts help"
85
- - "vagrant hosts help apply"
2
+ vdhm:
3
+ help:
4
+ title: "Vagrant Docker Hosts Manager"
5
+ usage: "Utilisation : vagrant hosts <apply|remove|view|help|version> [options]"
6
+ commands_header: "Commandes :"
7
+ options_header: "Options :"
8
+ topics_header: "Sujets d'aide :"
9
+ topic_header: "Aide : vagrant hosts %{topic}"
10
+ usage_label: "Utilisation :"
11
+ description_label: "Description :"
12
+ options_label: "Options :"
13
+ examples_label: "Exemples :"
14
+ commands:
15
+ apply: "apply [IP] [DOMAIN] Ajouter/mettre à jour des entrées dans le fichier hosts"
16
+ remove: "remove [IP|DOMAIN] Supprimer des entrées ou tout le bloc géré"
17
+ view: "view [DOMAIN] Afficher les entrées prévues/gérées"
18
+ version: "version Afficher la version du plugin"
19
+ help: "help [command] Afficher l'Aide générale ou d'un sous-commande"
20
+ options:
21
+ json: "--json Sortie JSON lisible par machine"
22
+ dry_run: "--dry-run Ne pas modifier le fichier hosts"
23
+ lang: "--lang LANG Forcer la langue (en|fr)"
24
+ no_emoji: "--no-emoji Désactiver les émojis dans la sortie CLI"
25
+ topic:
26
+ apply:
27
+ title: "apply"
28
+ usage: "vagrant hosts apply <IP> <DOMAIN>"
29
+ description: >
30
+ Ajoute ou met à jour le mapping fourni dans le bloc géré pour la VM cible.
31
+ Si aucun mapping n'est fourni, les valeurs du Vagrantfile (docker_hosts) sont utilisées.
32
+ Les deux paramètres sont validés : IPv4 (ex. 172.28.100.2) et DOMAINE (ex. example.test).
33
+ options:
34
+ json: "--json Sortie JSON (machine-readable)"
35
+ dryrun: "--dry-run Ne pas modifier le fichier hosts"
36
+ lang: "--lang <en|fr> Forcer la langue"
37
+ noemoji: "--no-emoji Désactiver les émojis dans la sortie"
38
+ examples:
39
+ - "vagrant hosts apply 172.28.100.2 flowfind.noesi.local"
40
+ - "vagrant hosts apply 172.28.100.3 flowfind3.noesi.local default"
41
+ remove:
42
+ title: "remove"
43
+ usage: "vagrant hosts remove [<IP>|<DOMAIN>]"
44
+ description: >
45
+ Supprime un mapping par IP ou DOMAINE. Si aucun paramètre n'est fourni, une confirmation
46
+ est demandée avant de supprimer TOUTES les entrées gérées pour la VM (invite : y/N).
47
+ Avec --all, purge TOUS les blocs gérés de TOUTES les machines (y compris les orphelins
48
+ laissés par des machines supprimées sans `vagrant destroy`) — fonctionne hors projet.
49
+ Le format du paramètre est validé (IPv4 ou DOMAINE).
50
+ options:
51
+ all: "--all, --prune Purger TOUS les blocs gérés (toutes machines, orphelins inclus)"
52
+ json: "--json Sortie JSON (machine-readable)"
53
+ dryrun: "--dry-run Ne pas modifier le fichier hosts"
54
+ lang: "--lang <en|fr> Forcer la langue"
55
+ noemoji: "--no-emoji Désactiver les émojis dans la sortie"
56
+ examples:
57
+ - "vagrant hosts remove 172.28.100.2"
58
+ - "vagrant hosts remove flowfind.noesi.local"
59
+ - "vagrant hosts remove # demande une confirmation pour TOUT supprimer"
60
+ - "vagrant hosts remove --all # purge tous les blocs gérés (orphelins inclus)"
61
+ view:
62
+ title: "view"
63
+ usage: "vagrant hosts view"
64
+ description: >
65
+ Affiche les entrées prévues (depuis le Vagrantfile) et les entrées gérées présentes
66
+ dans le fichier hosts. Affiche des paires uniques IP → DOMAINE.
67
+ options:
68
+ json: "--json Sortie JSON (machine-readable)"
69
+ dryrun: "--dry-run Ne pas modifier le fichier hosts"
70
+ lang: "--lang <en|fr> Forcer la langue"
71
+ noemoji: "--no-emoji Désactiver les émojis dans la sortie"
72
+ examples:
73
+ - "vagrant hosts view"
74
+ - "vagrant hosts view default"
75
+ version:
76
+ title: "version"
77
+ usage: "vagrant hosts version"
78
+ description: "Affiche la version du plugin."
79
+ options: {}
80
+ examples:
81
+ - "vagrant hosts version"
82
+ help:
83
+ title: "help"
84
+ usage: "vagrant hosts help [apply|remove|view|version|help]"
85
+ description: "Afficher l'aide générale ou l'aide détaillée d'une sous-commande."
86
+ options: {}
87
+ examples:
88
+ - "vagrant hosts help"
89
+ - "vagrant hosts help apply"
86
90
 
87
- messages:
88
- no_entries: "Aucune entrée hosts configurée."
89
- applied: "Entrées hosts appliquées."
90
- removed_count: "%{count} entrée(s) supprimée(s)."
91
- cleaned: "Entrées gérées supprimées."
92
- nothing_to_clean: "Rien à nettoyer."
93
- missing_ip_for: "Aucune IP configurée pour %{domain} ; ignoré."
94
- detected_ip: "IP détectée pour %{domain} : %{ip}."
95
- no_ip_found: "Aucune IP trouvée pour %{domain} (conteneur : %{container})."
96
- lang_set: "Langue définie sur %{lang}."
97
- no_change: "Rien à appliquer. Déjà à jour."
98
- invalid_ip: "Adresse IPv4 invalide : %{ip}"
99
- invalid_host: "Hôte/FQDN invalide : %{host}"
100
- missing_mapping: "Fournissez l'IP et le FQDN (ex. `vagrant hosts apply 1.2.3.4 example.test`)."
101
- invalid_key: "IP ou FQDN invalide : %{key}"
102
- view_header: "Entrées hosts prévues :"
103
- view_managed_header: "Entrées hosts gérées :"
104
- apply_summary: "Ajoutées : %{a}, Modifiées : %{u}, Inchangées : %{s}"
105
- remove_expected_format: "Format attendu : IPv4 (ex. 172.28.100.2) ou FQDN (ex. example.test)."
106
- confirm_remove_all: "Cela va supprimer TOUTES les entrées gérées pour %{vm}. Continuer ? (yes/NO)"
107
- remove_all_cancelled: "Annulé. Rien supprimé."
108
- remove_none: "Aucune entrée correspondante à supprimer."
91
+ messages:
92
+ no_entries: "Aucune entrée hosts configurée."
93
+ applied: "Entrées hosts appliquées."
94
+ removed_count: "%{count} entrée(s) supprimée(s)."
95
+ cleaned: "Entrées gérées supprimées."
96
+ cleaned_all: "Tous les blocs gérés ont été supprimés."
97
+ nothing_to_clean: "Rien à nettoyer."
98
+ missing_ip_for: "Aucune IP configurée pour %{domain} ; ignoré."
99
+ detected_ip: "IP détectée pour %{domain} : %{ip}."
100
+ no_ip_found: "Aucune IP trouvée pour %{domain} (conteneur : %{container})."
101
+ lang_set: "Langue définie sur %{lang}."
102
+ no_change: "Rien à appliquer. Déjà à jour."
103
+ invalid_ip: "Adresse IPv4 invalide : %{ip}"
104
+ invalid_host: "Hôte/FQDN invalide : %{host}"
105
+ missing_mapping: "Fournissez l'IP et le FQDN (ex. `vagrant hosts apply 1.2.3.4 example.test`)."
106
+ invalid_key: "IP ou FQDN invalide : %{key}"
107
+ view_header: "Entrées hosts prévues :"
108
+ view_managed_header: "Entrées hosts gérées :"
109
+ apply_summary: "Ajoutées : %{a}, Modifiées : %{u}, Inchangées : %{s}"
110
+ remove_expected_format: "Format attendu : IPv4 (ex. 172.28.100.2) ou FQDN (ex. example.test)."
111
+ confirm_remove_all: "Cela va supprimer TOUTES les entrées gérées pour %{vm}. Continuer ? (y/N)"
112
+ confirm_prune: "Cela va supprimer TOUS les blocs gérés de TOUTES les machines (orphelins inclus). Continuer ? (y/N)"
113
+ remove_all_cancelled: "Annulé. Rien supprimé."
114
+ remove_none: "Aucune entrée correspondante à supprimer."
109
115
 
110
- errors:
111
- no_machine: "Aucune machine cible trouvée. Lancez cette commande dans un projet Vagrant ou indiquez un nom de VM."
112
- not_admin: "Droits administrateur/root requis pour modifier le fichier hosts : %{path}."
113
- invalid_locale: "Locale doit être en 'en' ou en 'fr'."
116
+ errors:
117
+ no_machine: "Aucune machine cible trouvée. Lancez cette commande dans un projet Vagrant ou indiquez un nom de VM."
118
+ not_admin: "Droits administrateur/root requis pour modifier le fichier hosts : %{path}."
119
+ invalid_locale: "Locale doit être en 'en' ou en 'fr'."
114
120
 
115
- log:
116
- version_line: "vagrant-docker-hosts-manager version %{version}"
121
+ log:
122
+ version_line: "vagrant-docker-hosts-manager version %{version}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-docker-hosts-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Poirou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-11 00:00:00.000000000 Z
11
+ date: 2026-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -65,6 +65,8 @@ files:
65
65
  - README.md
66
66
  - lib/vagrant-docker-hosts-manager.rb
67
67
  - lib/vagrant-docker-hosts-manager/VERSION
68
+ - lib/vagrant-docker-hosts-manager/actions/apply.rb
69
+ - lib/vagrant-docker-hosts-manager/actions/cleanup.rb
68
70
  - lib/vagrant-docker-hosts-manager/command.rb
69
71
  - lib/vagrant-docker-hosts-manager/config.rb
70
72
  - lib/vagrant-docker-hosts-manager/helpers.rb
@@ -73,6 +75,7 @@ files:
73
75
  - lib/vagrant-docker-hosts-manager/util/hosts_file.rb
74
76
  - lib/vagrant-docker-hosts-manager/util/i18n.rb
75
77
  - lib/vagrant-docker-hosts-manager/util/json.rb
78
+ - lib/vagrant-docker-hosts-manager/util/verbose.rb
76
79
  - lib/vagrant-docker-hosts-manager/version.rb
77
80
  - locales/en.yml
78
81
  - locales/fr.yml
@@ -83,6 +86,7 @@ metadata:
83
86
  rubygems_mfa_required: 'true'
84
87
  bug_tracker_uri: https://github.com/julienpoirou/vagrant-docker-hosts-manager/issues
85
88
  changelog_uri: https://github.com/julienpoirou/vagrant-docker-hosts-manager/blob/main/CHANGELOG.md
89
+ documentation_uri: https://www.rubydoc.info/gems/vagrant-docker-hosts-manager/
86
90
  source_code_uri: https://github.com/julienpoirou/vagrant-docker-hosts-manager
87
91
  homepage_uri: https://github.com/julienpoirou/vagrant-docker-hosts-manager
88
92
  post_install_message: