crevasse / converter
Simple hash-json creation for any project managed via crevasse.
Requires
- php: >=5.6
- ext-curl: *
- php-curl-class/php-curl-class: ~7.4.0
Requires (Dev)
This package is not auto-updated.
Last update: 2025-03-30 08:11:26 UTC
README
Simple hash-json
creation for any project managed via crevasse.
It takes your existing project's default.conf
.
- Create a single converts hash-json file, including its all.
- Automated convert process
- Zero additional configuration
Table of contents
Usage
Once crevasse/converter is installed, you can use it via command line like this.
simple convert
This tool supports several sub-commands. To get you started, you can now use the following simple command:
$ crevasse convert
This will actually execute the convert command, that allows you take from *.conf
to fast convert to convert.json
file
(see below description of the convert command for more details).
convert command
The convert command provides an fast command line convert. if you not specify conf path, it an convert via default conf path. So if you know the exact conf path, you can use the following command:
$ crevasse convert default.conf export convert.json
Install
You can grab a copy of crevasse/converter in either of the following ways.
As a phar (recommended)
You can simply download a pre-compiled and ready-to-use version as a Phar
to any directory.
Simply download the latest crevasse.phar
file from our
releases page:
That's it already. You can now verify everything works by running this:
$ cd ~/Downloads $ php crevasse.phar -v
The above usage examples assume you've installed crevasse system-wide to your $PATH (recommended), so you have the following options:
-
Only use crevasse locally and adjust the usage examples: So instead of
running
$ crevasse -v
, you have to type$ php crevasse.phar -v
. -
Or you can manually make the
crevasse.phar
executable and move it to your $PATH by running:
$ chmod 755 crevasse.phar $ sudo mv crevasse.phar /usr/local/bin/crevasse
If you have installed crevasse/converter system-wide, you can now verify everything works by running:
$ crevasse -v
Updating crevasse
There's no separate update
procedure, simply download the latest release again
and overwrite the existing phar.
License
MIT