An open API service indexing awesome lists of open source software.

https://github.com/audreyteles/hostcli

A CLI app to add hosts to your linux.
https://github.com/audreyteles/hostcli

bubbletea cli go golang tui

Last synced: 3 months ago
JSON representation

A CLI app to add hosts to your linux.

Awesome Lists containing this project

README

          

# hostcli

### How it works

- [Download](https://github.com/audreyteles/hostcli/releases/tag/0.1.0) the program file.

- Adjust the file permissions to make it executable:
```shell
chmod +x hostcli
```


- Then, in the same folder, run the following command:


```shell
sudo ./hostcli
```

- (Optional) If you want, you can add an alias to your shell (`~/.bashrc` or `~/.zshrc`):
```
alias hostcli='sudo /your/path/to/hostcli'
```
Close and open the shell to apply these changes and you'll be able to call `hostcli` from anywhere.