Postmodern

Results 391 issues of Postmodern

It should be possible to initialize a Command with a custom cwd value, which the command will change to using `Dir.chdir(cwd) { ... }`, for testing purposes.

testing
idea

Add a module for defining a default command to run instead of `help`.

future
feature
commands

`CommandKit::Commands::AutoRequire` should search `$LOAD_PATH` for available commands that could be required. This would allow the module to list available commands that are in `$LOAD_PATH` (ex: from other 3rd-party gems that...

future
feature

Add a `CommandKit::Printing::Tables` module: * Must support printing Arrays of Arrays (rows of columns). * Must calculate maximum length of each cell and left-pad cells. * May allow adding separator...

future
feature

Port command_kit to [Crystal](https://crystal-lang.org/).

Add a function that wraps text based on a maximum width, or the Console width. It must also support left-padding each line with a certain amount of spaces.

future
feature

Add a function for left-padding each line of text with a certain number of spaces.

future
feature

Build a cutesy GitHub Pages website for command_kit, similar to http://whatisthor.com/. * Logo idea: plastic model kit parts * Color Scheme: light/airy. * Include all examples from the README

documentation
future

Add a module for parsing [XDG `~/.config/user-dirs.dirs`](http://manpages.ubuntu.com/manpages/bionic/man5/user-dirs.dirs.5.html) file and providing access to the Downloads or Documents directories. Should define methods for each XDG user-directory (ex: ~/Downloads).

future
feature

If a `usage` has not been defined yet, `CommandKit::Arguments` should generate a default `usage` based on the defined arguments. Probably something as simple as: arguments.values.map(&:usage).join(' ')

enhancement