This commit is contained in:
Maxime Van Hees
2025-07-18 04:33:37 +02:00
parent 8078234ada
commit 6082ecc6d1
11 changed files with 335 additions and 154 deletions

View File

@@ -1,9 +1,9 @@
// Get all servers and print them in a table
let servers = hetzner.get_servers();
print(servers);
print_servers_table(servers);
servers.pretty_print();
// Get a specific server and print its details
// Replace 1825193 with the server number you want to fetch
let server = hetzner.get_server(1825193);
print_server_details(server);
print(server);

View File

@@ -1,6 +1,6 @@
// Get all SSH keys and print them in a table
let keys = hetzner.get_ssh_keys();
print_ssh_keys_table(keys);
print(keys);
// Get a specific SSH key
// Replace "13:dc:a2:1e:a9:d2:1d:a9:39:f4:44:c5:f1:00:ec:c7" with the fingerprint of the key you want to fetch