home.social

#command_kit — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #command_kit, aggregated by home.social.

fetched live
  1. I hadn't checked bestgems.org in a while, but it appears that command_kit is doing pretty good!
    bestgems.org/gems/command_kit
    #command_kit

  2. I hadn't checked bestgems.org in a while, but it appears that command_kit is doing pretty good!
    bestgems.org/gems/command_kit
    #command_kit

  3. Released command_kit 0.6.0. Added `CommandKit::Interactive#ask_multiline` for multi-line input, `CommandKit::Open` for opening files and handling `-` files, and `CommandKit::Options::VerboseLevel` for verbosity levels (ex: `-vvv`).
    github.com/postmodern/command_
    github.com/postmodern/command_
    #ruby #command_kit #cli

  4. Released command_kit 0.6.0. Added `CommandKit::Interactive#ask_multiline` for multi-line input, `CommandKit::Open` for opening files and handling `-` files, and `CommandKit::Options::VerboseLevel` for verbosity levels (ex: `-vvv`).
    github.com/postmodern/command_
    github.com/postmodern/command_
    #ruby #command_kit #cli

  5. Released command_kit 0.5.0 which adds the CommandKit::Completion::Install module for installing bash, zsh, or fish shell completion files.
    github.com/postmodern/command_
    #ruby #cli #bashcompletion #command_kit #commandkit #bash #zsh #fishshell

  6. Released command_kit 0.5.0 which adds the CommandKit::Completion::Install module for installing bash, zsh, or fish shell completion files.
    github.com/postmodern/command_
    #ruby #cli #bashcompletion #command_kit #commandkit #bash #zsh #fishshell

  7. Code spike that generates bash/zsh completions for command_kit CLI classes options and their sub-commands. Uses the awesome 'completely' gem.
    github.com/postmodern/command_
    #ruby #bashcompletion #command_kit

  8. Code spike that generates bash/zsh completions for command_kit CLI classes options and their sub-commands. Uses the awesome 'completely' gem.
    github.com/postmodern/command_
    #ruby #bashcompletion #command_kit

  9. Is anyone using command_kit on ruby 2.7? I'm thinking of releasing command_kit 0.4.0 which requires ruby >= 3.0.0 soon (maybe tonight?).
    #command_kit #ruby

    github.com/postmodern/command_

  10. Should I override `open(path)` in `CommandKit::Stdio` to rescue `Errno::ENOENT` exceptions when the file does not exist and print the typical "#{program}: #{path}: No such file or directory" error message and exit 1?
    github.com/postmodern/command_

    Seems like a common pattern and it's always better to print an error message then accidentally show the user an exception backtrace. Plus, I really do not like how Kernel.open allows for opening commands which can lead to command injection.
    #command_kit