9 lines
No EOL
200 B
JavaScript
9 lines
No EOL
200 B
JavaScript
import Command from "../command.js";
|
|
|
|
export const hostname = new Command("hostname")
|
|
.setManual({
|
|
purpose: "Display the hostname"
|
|
})
|
|
.setExecute((args, { hostname }) => {
|
|
return hostname;
|
|
}); |