mval

command module
v0.0.0-...-e493ec8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 6 Imported by: 0

README

====
mval
====

Current value of your money in one currency in another currency
(currency converter).

Installation
============

Requires `Go <https://go.dev/dl/>`_.

.. code-block:: bash

    $ go install codeberg.org/Kaamkiya/mval


Usage
=====

Make sure ``$GOPATH`` is in your ``$PATH``:

.. code-block:: bash

    $ export PATH="$PATH:$(go env GOPATH)/bin"

Using it:

.. code-block:: bash

    $ mval convert 10 CAD INR
      #=> prints the value in Indian rupees of 10 Canadian dollars
    $ mval help convert
      #=> help message about how to use mval
    $ mval list
      #=> list all currencies you can convert to and from
    $ mval help
      #=> generic help message. Same as -h or --help
    $ mval convert 78.34 EUR BRL --verbose
      #=> prints the value of 78.34 Euros in Brazilian Real, with verbose output
      # -v does the same thing as --verbose

Uninstalling
============

.. code-block:: bash

    $ rm $(go env GOPATH)/bin/mval

License
=======

This project is licensed under the MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL