This is just a temporary dummy gem.


License
GPL-2.0
Install
gem install diamond_shell -v 0.235

Documentation

Diamond Shell Project

==== Warning!

This project is in testing phase. I do not yet recommend anyone using it, but if you want to, you can try, and feedback if something is not working or ought to be removed.

Thanks.

Important note

The module "configuration" is NOT the one available on rubygems.org.

The following section shows you how to use the other configuration module.

Configuration

The replacement for the Configuration project can be found here:

Main Link: http://shevegen.square7.ch/configuration-1.0.5.gem or at that same URL for now. http://shevegen.square7.ch

Simply wget the .gem then install it:

wget http://shevegen.square7.ch/configuration-1.0.5.gem
gem install configuration-1.0.5.gem

Rubygems unfortunately does not allow same-named games, thus forcing me to use dependencies outside of rubygems.org

This is the Diamond Shell Project.

Please bear with me as I slowly add more documentation to this project. Eventually I will make use of prawn to auto-generate all documentation in a .pdf file - until then, feel free to look at this stub here.

Usage - Ruby Code

require 'diamond_shell'

DiamondShell.run # To startup

Goals

This project shall be a replacement for irb but also for bash.

Perhaps in the distant future it may also offer features such as available in pry, zsh and fish. And a GUI component in ruby-gnome, similar to cuiterm.

Features

There are many features the Diamond Shell aims to achieve.

One goal is to function as a replacement to bash and also irb.

Usage inside a running DiamondShell instance:

If you manage to start the DiamondShell, you can issue the help command to show the common functionality:

help

To see the current version, do:

version

To generate all keys, do:

generate keys

To remove comments from all .ogg files in a given directory, we can do:

remove_comments *ogg

To stat some files do:

stat test.txt
stat 1 2 3 # This will stat the files at position 1, 2 or 3.

You can cd into a directory by issuing i.e.:

cd /tmp
cd 1 # Positional arguments are possible as well. This would cd into the first directory.

You can also cd into an archive - this means that we will first extract the archive, then cd into that directory. Example:

cd htop-1.0.2.tar.xz

To upload a file, or several files, do:

upload foo.txt
upload *
upload 1,2,3
upload 1-3

To convert formats into one another, you can use the convert() functionality, such as:

convert foo.png foo.pdf
convert bar.mp3 bar.ogg

To show the padding in use, do either:

padding?
show padding

You can see the input history by doing this:

history?

If you don't like this, you can disable it via:

disable history

In general, if you wish to disable something, you do:

disable ENTRY_HERE

Credits