UNPKG

@gabrielvgx/tecfoodcli

Version:

Projeto para automatizar criação de ambientes TecFood

16 lines (15 loc) 381 B
import terminal from './terminal.js'; const ssh = { async createSSH( comment ){ const SSH_KEY = await terminal.execute("create_ssh_key.sh", comment, true); if ( typeof SSH_KEY == 'string' && SSH_KEY.includes(comment) ) { return SSH_KEY; } return null; } } const { createSSH } = ssh; export { createSSH }; export default ssh;