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.
- Host: GitHub
- URL: https://github.com/audreyteles/hostcli
- Owner: audreyteles
- Created: 2024-12-09T00:09:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-11T01:23:19.000Z (about 1 year ago)
- Last Synced: 2025-03-31T04:38:47.680Z (9 months ago)
- Topics: bubbletea, cli, go, golang, tui
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.