Code Monkey home page Code Monkey logo

Comments (4)

dalance avatar dalance commented on May 21, 2024

The default configuration is minimal to fit narrow terminal.
So I recommend to configure with your environment and requirement.
If you want to use as default, you can generate the default configuration like below:

$ procs --config > /Users/shinokada/Library/Preferences/com.github.dalance.procs/config.toml

from procs.

mgeisler avatar mgeisler commented on May 21, 2024

The note was the first thing I noticed when trying out procs — and I would remove it. To me, it makes the program "annoying by default", which is a bad default 😄

I would make procs work like other Unix system tools, which don't mention a potential config file on every invocation. Let people read about the config file in the man page (or the homepage if there is no man page).

from procs.

dalance avatar dalance commented on May 21, 2024

Thank you for your suggestion.
I will remove the notification message and add help message instead like below.
What do you think?

$ procs -h

procs 0.10.5-pre
A modern replacement for ps

please see https://github.com/dalance/procs#configuration to configure columns

USAGE:
    procs [FLAGS] [OPTIONS] [--] [KEYWORD]...

FLAGS:
    -a, --and        AND  logic for multi-keyword
    -o, --or         OR   logic for multi-keyword
    -d, --nand       NAND logic for multi-keyword
    -r, --nor        NOR  logic for multi-keyword
    -l, --list       Show list of kind
    -t, --tree       Tree view
    -w, --watch      Watch mode with default interval (1s)
        --config     Generate configuration sample file
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -W, --watch-interval <second>    Watch mode with custom interval
    -i, --insert <kind>...           Insert column to slot
        --sorta <kind>               Sort column by ascending
        --sortd <kind>               Sort column by descending
    -c, --color <color>              Color mode [possible values: auto, always, disable]
    -p, --pager <pager>              Pager mode [possible values: auto, always, disable]
        --interval <millisec>        Interval to calculate throughput [default: 100]

ARGS:
    <KEYWORD>...    Keywords for search

from procs.

mgeisler avatar mgeisler commented on May 21, 2024

Hey @dalance Awesome, I think that is much better! Thanks 😄

from procs.

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.