joe generates .gitignore files from the command line for you.
Project description
.. figure:: http://i.imgur.com/y8g506n.png?1
:alt:
joe
===
A ``.gitignore`` magician in your command line. Joe generates
``.gitignore`` files from the command line for you.
.. figure:: http://i.imgur.com/ghmJLUP.gif
:alt:
Features
--------
- Written in uncomplicated Python
- Easy to `install <https://github.com/karan/joe#installation>`__
- Stupidly `easy to use <https://github.com/karan/joe#usage>`__
- Supports all Github-supported ```.gitignore``
files <https://github.com/karan/joe#list-all-available-files>`__
- Works on Mac, Linux and Windows
- Supports other version control systems (``.hgignore``)
Installation
------------
Option 1: Homebrew
~~~~~~~~~~~~~~~~~~
.. code:: bash
brew tap karan/karan
pip install joe
Option 3: From source
~~~~~~~~~~~~~~~~~~~~~
.. code:: bash
cd joe/
joe java # outputs .gitignore file for java to stdout
To update your ``.gitignore`` files at any time, simply run:
.. code:: bash
joe java > .gitignore # saves a new .gitignore file for java
Append to existing ``.gitignore`` file
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code:: bash
joe java node osx > .gitignore # saves a new .gitignore file for multiple languages
Create and append to a global .gitignore file
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can also use joe to append to a global .gitignore. These can be
helpful when you want to ignore files generated by an IDE, OS, or
otherwise.
.. code:: bash
joe OSX SublimeText >> ~/.gitignore
List all available files
~~~~~~~~~~~~~~~~~~~~~~~~
.. code:: bash
joe java > .hgignore
Contributing
------------
Bug Reports & Feature Requests
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Please use the `issue tracker <https://github.com/karan/joe/issues>`__
to report any bugs or file feature requests.
Developing
^^^^^^^^^^
PRs are welcome. To begin developing, do this:
.. code:: bash
# make virtual env
cd joe/
tool.sh [-h|--help] COMMAND
EXAMPLES:
tool.sh test Upload release to testpypi
$ tool.sh prod Upload release to prod pypi
Make sure you have a file ``.pypirc`` in ``~/`` in the following format:
::
[distutils]
index-servers =
pypi
pypitest
[pypi]
repository: https://pypi.python.org/pypi
username: <<>>
password: <<>>
[pypitest]
repository: https://testpypi.python.org/pypi
username: <<>>
password: <<>>
:alt:
joe
===
A ``.gitignore`` magician in your command line. Joe generates
``.gitignore`` files from the command line for you.
.. figure:: http://i.imgur.com/ghmJLUP.gif
:alt:
Features
--------
- Written in uncomplicated Python
- Easy to `install <https://github.com/karan/joe#installation>`__
- Stupidly `easy to use <https://github.com/karan/joe#usage>`__
- Supports all Github-supported ```.gitignore``
files <https://github.com/karan/joe#list-all-available-files>`__
- Works on Mac, Linux and Windows
- Supports other version control systems (``.hgignore``)
Installation
------------
Option 1: Homebrew
~~~~~~~~~~~~~~~~~~
.. code:: bash
Option 3: From source
~~~~~~~~~~~~~~~~~~~~~
.. code:: bash
To update your ``.gitignore`` files at any time, simply run:
.. code:: bash
Append to existing ``.gitignore`` file
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code:: bash
Create and append to a global .gitignore file
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can also use joe to append to a global .gitignore. These can be
helpful when you want to ignore files generated by an IDE, OS, or
otherwise.
.. code:: bash
List all available files
~~~~~~~~~~~~~~~~~~~~~~~~
.. code:: bash
Contributing
------------
Bug Reports & Feature Requests
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Please use the `issue tracker <https://github.com/karan/joe/issues>`__
to report any bugs or file feature requests.
Developing
^^^^^^^^^^
PRs are welcome. To begin developing, do this:
.. code:: bash
# make virtual env
EXAMPLES:
$ tool.sh prod Upload release to prod pypi
Make sure you have a file ``.pypirc`` in ``~/`` in the following format:
::
[distutils]
index-servers =
pypi
pypitest
[pypi]
repository: https://pypi.python.org/pypi
username: <<>>
password: <<>>
[pypitest]
repository: https://testpypi.python.org/pypi
username: <<>>
password: <<>>