Comments (7)
the -m
is for minimal.
Or even some kind of "only" to turn all off and switch to one specific profile.
I agree. Different modes for enabling/disabling can be very handy.
I suggested toggle
just to ease with the cognitive load and make use of commands from history.
Another mere suggestion and not a feature request is having hostctl list --on
/hostctl list --off
to list only on or off profiles.
from hostctl.
This issue ended up on this features:
hostctl list enabled
to show only enabled profiles. (also works with aliason
)hostctl list disabled
to show only disabled profiles. (also works with aliasoff
)hostctl status
to show only one profile name per line and its status
Thanks for your contribution @smhmd!
from hostctl.
We can add a -q
to silence output.
Also I'm thinking about a config file so users can tweat default behavior
from hostctl.
Great. I also think a command for on/off profiles could be useful.
$ hostctl list -m
awesome on
meh off
splendid on
This is much easily scripted as I want to make a dmenu
script for turning profiles on and off.
from hostctl.
effectively, hostctl list --raw -c profile,status | uniq
.
from hostctl.
just an idea, not really a feature request:
How about hostctl toggle
along side enable
and disable
?
from hostctl.
hostctl list -m
What would be the meaning of -m
? menu? not sure I get it.
The toggle
idea could be useful. Or even some kind of "only
" to turn all off and switch to one specific profile.
from hostctl.
Related Issues (20)
- more render targets HOT 1
- Update asciinema/gif on README
- Add a better logger to stdout
- Multiple "DO NOT EDIT" comments in etc/hosts HOT 2
- Display version number as part of --help HOT 4
- fix aur-publish step HOT 9
- hostctl adds entries for the same domain + ip HOT 3
- Comments turn into entries
- Support not etc/hosts config files,such as sysctl.conf and limits.conf HOT 1
- brew install guumaster/tap/hostctl does not work on Apple M1 HOT 7
- v1.1.1 - Access Denied on Windows 10 while running as administrator HOT 2
- i really want to use this by yum or dnf. HOT 1
- runtime error HOT 1
- SegFault - profile.RemoveHostNames - HOT 1
- Windows 11 profiles are not set
- Extremely slow for large files HOT 2
- installation page not found (404) HOT 4
- hostctl removes multi-value domain aliases when adding any domain
- hostctl strips ::0 off ipv6 addresses when adding any domain
- The snap package conflicts with the compiled binary package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hostctl.