Giter VIP home page Giter VIP logo

Comments (7)

smhmd avatar smhmd commented on May 28, 2024 1

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.

guumaster avatar guumaster commented on May 28, 2024 1

This issue ended up on this features:

  • hostctl list enabled to show only enabled profiles. (also works with alias on)
  • hostctl list disabled to show only disabled profiles. (also works with alias off)
  • hostctl status to show only one profile name per line and its status

Thanks for your contribution @smhmd!

from hostctl.

guumaster avatar guumaster commented on May 28, 2024

We can add a -q to silence output.

Also I'm thinking about a config file so users can tweat default behavior

from hostctl.

smhmd avatar smhmd commented on May 28, 2024

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.

smhmd avatar smhmd commented on May 28, 2024

effectively, hostctl list --raw -c profile,status | uniq.

from hostctl.

smhmd avatar smhmd commented on May 28, 2024

just an idea, not really a feature request:
How about hostctl toggle along side enable and disable?

from hostctl.

guumaster avatar guumaster commented on May 28, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.