Project

xolti

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
A gem to manage license headers, providing a simple CLI.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.19.1, ~> 0.19.1
 Project Readme

Xolti

Tool assisting developers to manage license headers in source files, powered by Ruby.

Build Status Code Climate Gem Version Documentation Status License

Purpose

If you ever had to manage the license of a project, you probably know how much a burden this task can become, especially if you try to keep it accurate !

Xolti is a piece of software aiming to assist the management of license-related information in a project. Its main functionality is to add and maintain license headers at the top of source files.

Installation

Xolti is available on RubyGems.org, so installing it is fairly easy:

gem install xolti

Once the installation completes, Xolti is added to your $PATH, so you can access it from everywhere.

Please note that xolti is still in developer preview.

Requirements

Xolti requires Ruby to be installed in order to properly work. It has been tested with Ruby >= 2.1, but probably works with older versions too. In addition, Xolti requires thor, as stated in the Gemfile.

Usage

Xolti provides a set of commands, including :

I want to add a header to a file named awesome.txt :
xolti add awesome.txt
I want to check that awesome.txt has a correct header :
xolti status awesome.txt
I want to get a list of all files missing correct headers :
xolti list_missing

User documentation

Documentation is available here.

Development

Setup

  • Check that Ruby is installed, then :
gem install bundle # make sure bundle is installed
git clone https://github.com/RemiEven/xolti.git
cd xolti
bundle install # install the dependencies

Running the tests

rake test

Lint

rubocop

Compiling documentation

yard server

Building the gem

gem build xolti.gemspec

License

Xolti is a piece of free software licensed under the terms of the GNU-GPL3.